diff --git a/usr.bin/hexdump/odsyntax.c b/usr.bin/hexdump/odsyntax.c index 09a0440b79b2..fd30712db071 100644 --- a/usr.bin/hexdump/odsyntax.c +++ b/usr.bin/hexdump/odsyntax.c @@ -1,4 +1,4 @@ -/* $NetBSD: odsyntax.c,v 1.21 2004/10/30 17:43:02 dsl Exp $ */ +/* $NetBSD: odsyntax.c,v 1.22 2005/06/02 01:53:01 lukem Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)odsyntax.c 8.2 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: odsyntax.c,v 1.21 2004/10/30 17:43:02 dsl Exp $"); +__RCSID("$NetBSD: odsyntax.c,v 1.22 2005/06/02 01:53:01 lukem Exp $"); #endif #endif /* not lint */ @@ -214,7 +214,7 @@ static void posixtypes(type_string) char const *type_string; { - int nbytes; + int nbytes = 0; char *fmt, type, *tmp; struct odformat const *odf; diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 4a7c74e1cf24..baf5c0a59c2e 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1,4 +1,4 @@ -/* $NetBSD: kdump.c,v 1.79 2004/08/23 20:49:28 dsl Exp $ */ +/* $NetBSD: kdump.c,v 1.80 2005/06/02 01:53:51 lukem Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\ #if 0 static char sccsid[] = "@(#)kdump.c 8.4 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: kdump.c,v 1.79 2004/08/23 20:49:28 dsl Exp $"); +__RCSID("$NetBSD: kdump.c,v 1.80 2005/06/02 01:53:51 lukem Exp $"); #endif #endif /* not lint */ @@ -642,7 +642,7 @@ hexdump_buf(vdp, datalen, word_sz) const unsigned char *dp = vdp; const unsigned char *datalim = dp + datalen; const unsigned char *line_end; - int off, l, c; + int off, l = 0, c; char *cp, *bp; int divmask = word_sz - 1; /* block size in bytes */ int gdelim = 3; /* gap between blocks */ diff --git a/usr.bin/make/cond.c b/usr.bin/make/cond.c index 1a158472e541..e2ec65f52ace 100644 --- a/usr.bin/make/cond.c +++ b/usr.bin/make/cond.c @@ -1,4 +1,4 @@ -/* $NetBSD: cond.c,v 1.26 2005/03/01 04:34:55 christos Exp $ */ +/* $NetBSD: cond.c,v 1.27 2005/06/02 02:03:19 lukem Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -70,14 +70,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: cond.c,v 1.26 2005/03/01 04:34:55 christos Exp $"; +static char rcsid[] = "$NetBSD: cond.c,v 1.27 2005/06/02 02:03:19 lukem Exp $"; #else #include #ifndef lint #if 0 static char sccsid[] = "@(#)cond.c 8.2 (Berkeley) 1/2/94"; #else -__RCSID("$NetBSD: cond.c,v 1.26 2005/03/01 04:34:55 christos Exp $"); +__RCSID("$NetBSD: cond.c,v 1.27 2005/06/02 02:03:19 lukem Exp $"); #endif #endif /* not lint */ #endif @@ -707,6 +707,7 @@ CondToken(Boolean doEval) Boolean lhsQuoted; Boolean rhsQuoted; + rhs = NULL; lhsFree = rhsFree = FALSE; lhsQuoted = rhsQuoted = FALSE; diff --git a/usr.bin/mkcsmapper/yacc.y b/usr.bin/mkcsmapper/yacc.y index 7e376dfd287c..bba0fceeb4c7 100644 --- a/usr.bin/mkcsmapper/yacc.y +++ b/usr.bin/mkcsmapper/yacc.y @@ -1,4 +1,4 @@ -/* $NetBSD: yacc.y,v 1.5 2004/01/05 19:20:10 itojun Exp $ */ +/* $NetBSD: yacc.y,v 1.6 2005/06/02 02:07:54 lukem Exp $ */ %{ /*- @@ -33,7 +33,7 @@ #include #if !defined(lint) -__RCSID("$NetBSD: yacc.y,v 1.5 2004/01/05 19:20:10 itojun Exp $"); +__RCSID("$NetBSD: yacc.y,v 1.6 2005/06/02 02:07:54 lukem Exp $"); #endif /* not lint */ #include @@ -262,7 +262,7 @@ static void alloc_table(void) { size_t i; - u_int32_t val; + u_int32_t val = 0; table_size = (src_zone.row_end-src_zone.row_begin + 1) * @@ -660,7 +660,7 @@ main(int argc, char **argv) int ch; extern char *optarg; extern int optind; - FILE *in; + FILE *in = NULL; int mkdb = 0, mkpv = 0; while ((ch=getopt(argc, argv, "do:mp")) != EOF) { diff --git a/usr.bin/mkesdb/yacc.y b/usr.bin/mkesdb/yacc.y index 77582dbd9dd7..08e4580efe99 100644 --- a/usr.bin/mkesdb/yacc.y +++ b/usr.bin/mkesdb/yacc.y @@ -1,4 +1,4 @@ -/* $NetBSD: yacc.y,v 1.3 2004/01/02 12:09:48 itojun Exp $ */ +/* $NetBSD: yacc.y,v 1.4 2005/06/02 02:09:25 lukem Exp $ */ %{ /*- @@ -33,7 +33,7 @@ #include #if !defined(lint) -__RCSID("$NetBSD: yacc.y,v 1.3 2004/01/02 12:09:48 itojun Exp $"); +__RCSID("$NetBSD: yacc.y,v 1.4 2005/06/02 02:09:25 lukem Exp $"); #endif /* not lint */ #include @@ -303,7 +303,7 @@ main(int argc, char **argv) int ch; extern char *optarg; extern int optind; - FILE *in; + FILE *in = NULL; int mkdb = 0; while ((ch=getopt(argc, argv, "do:m")) != EOF) {