summaryrefslogtreecommitdiffstats
path: root/usr.bin/error/pi.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1998-12-06 22:58:23 +0000
committerarchie <archie@FreeBSD.org>1998-12-06 22:58:23 +0000
commit167c036e91fb24a62d627d16a2f3afa6d875c9e2 (patch)
treee40a696092a51458b052ff258b3700d51fc2ca09 /usr.bin/error/pi.c
parent3f56407712318be6faa0b98ad8db4b5a83ef4c93 (diff)
downloadFreeBSD-src-167c036e91fb24a62d627d16a2f3afa6d875c9e2.zip
FreeBSD-src-167c036e91fb24a62d627d16a2f3afa6d875c9e2.tar.gz
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
Diffstat (limited to 'usr.bin/error/pi.c')
-rw-r--r--usr.bin/error/pi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/error/pi.c b/usr.bin/error/pi.c
index 5984bca..c5c1ffb 100644
--- a/usr.bin/error/pi.c
+++ b/usr.bin/error/pi.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)pi.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: pi.c,v 1.3 1997/11/03 07:44:15 charnier Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -208,7 +208,7 @@ extern char **wordv;
Errorclass pi()
{
- char **nwordv;
+ char **nwordv = NULL;
if (wordc < 2)
return (C_UNKNOWN);
OpenPOWER on IntegriCloud