1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-30 08:19:09 +00:00

Even if variable is never used uninitialized by the semantic, reduce compiler

warning by giving an initial value in all cases.
This commit is contained in:
Philippe Charnier 2005-05-29 16:01:12 +00:00
parent 35a974fdb8
commit ce2657c007
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146755

View File

@ -38,6 +38,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)pwd_mkdb.c 8.5 (Berkeley) 4/20/94";
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@ -118,6 +119,7 @@ main(int argc, char *argv[])
strcpy(prefix, _PATH_PWD);
makeold = 0;
username = NULL;
oldfp = NULL;
while ((ch = getopt(argc, argv, "BCLNd:ips:u:v")) != -1)
switch(ch) {
case 'B': /* big-endian output */