diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2001-07-18 17:17:40 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2001-07-18 17:17:40 +0000 |
commit | 88531ef445aa4eb7becd660a5ab9bfd36e6a3dfd (patch) | |
tree | 64fa0ded704625e538896475ac837ea7a32eb6d4 /usr.bin/strip | |
parent | 450182152042eb25ffa67fab097a6ca2071c8e61 (diff) |
-Wall cleanup
Diffstat (limited to 'usr.bin/strip')
-rw-r--r-- | usr.bin/strip/strip.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/strip/strip.c b/usr.bin/strip/strip.c index 16b74b24d5c..fa1263ff8d3 100644 --- a/usr.bin/strip/strip.c +++ b/usr.bin/strip/strip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strip.c,v 1.13 2000/10/12 10:15:38 art Exp $ */ +/* $OpenBSD: strip.c,v 1.14 2001/07/18 17:17:39 pvalchev Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -41,7 +41,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)strip.c 5.8 (Berkeley) 11/6/91";*/ -static char rcsid[] = "$OpenBSD: strip.c,v 1.13 2000/10/12 10:15:38 art Exp $"; +static char rcsid[] = "$OpenBSD: strip.c,v 1.14 2001/07/18 17:17:39 pvalchev Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -149,7 +149,10 @@ s_sym(fn, fd, ep, sp) register EXEC *ep; struct stat *sp; { - register char *neweof, *mineof; + register char *neweof; +#if 0 + register char *mineof; +#endif int zmagic; zmagic = ep->a_data && @@ -215,7 +218,7 @@ s_stab(fn, fd, ep, sp) EXEC *ep; struct stat *sp; { - register int cnt, len, nsymcnt; + register int cnt, len; register char *nstr, *nstrbase, *p, *strbase; register NLIST *sym, *nsym; u_long allocsize; |