Date: Mon, 17 Jan 2005 14:14:00 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/newfs_msdos Makefile newfs_msdos.c Message-ID: <200501171414.j0HEE0J3057144@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2005-01-17 14:14:00 UTC
FreeBSD src repository
Modified files:
sbin/newfs_msdos Makefile newfs_msdos.c
Log:
WARNS=6 cleanup:
- Initialize everything in the struct array, not only the mentioned
ones
- Unconditionally initialize hs to 0 to avoid repeatly doing so
- Cast to unsigned int when comparing to unsigned variables.
Revision Changes Path
1.9 +2 -1 src/sbin/newfs_msdos/Makefile
1.21 +16 -16 src/sbin/newfs_msdos/newfs_msdos.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501171414.j0HEE0J3057144>
