diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-09-14 14:29:21 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-09-14 14:29:21 +0000 |
commit | 9f2d925dffdb4c245e7ccf857babe10c77b17518 (patch) | |
tree | 765ec3993a05497beaad5221beb15083f2b1d1f7 /usr.bin/sup | |
parent | 8f00f23a2b0f39900bb1c2ab894a58e956979ffd (diff) |
remove some warnings:
unused variable `variable'
`variable' might be used uninitialized in this function
ok gilles@ ray@
Diffstat (limited to 'usr.bin/sup')
-rw-r--r-- | usr.bin/sup/src/supcmeat.c | 4 | ||||
-rw-r--r-- | usr.bin/sup/src/supfilesrv.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/sup/src/supcmeat.c b/usr.bin/sup/src/supcmeat.c index d0585ae5625..31fc1c8eb77 100644 --- a/usr.bin/sup/src/supcmeat.c +++ b/usr.bin/sup/src/supcmeat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: supcmeat.c,v 1.22 2007/09/11 15:47:17 gilles Exp $ */ +/* $OpenBSD: supcmeat.c,v 1.23 2007/09/14 14:29:20 chl Exp $ */ /* * Copyright (c) 1992 Carnegie Mellon University @@ -489,7 +489,7 @@ listfiles() { char buf[STRINGLENGTH]; char relsufix[STRINGLENGTH]; - char *p,*q; + char *p; FILE *f; int x; diff --git a/usr.bin/sup/src/supfilesrv.c b/usr.bin/sup/src/supfilesrv.c index 3a6517691b1..712a20819e8 100644 --- a/usr.bin/sup/src/supfilesrv.c +++ b/usr.bin/sup/src/supfilesrv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: supfilesrv.c,v 1.37 2007/09/11 15:47:17 gilles Exp $ */ +/* $OpenBSD: supfilesrv.c,v 1.38 2007/09/14 14:29:20 chl Exp $ */ /* * Copyright (c) 1992 Carnegie Mellon University @@ -547,7 +547,7 @@ init(argc, argv) int i; int x; char *clienthost, *clientuser; - char *p, *q; + char *p; char buf[STRINGLENGTH]; int maxsleep; FILE *f; @@ -1055,7 +1055,7 @@ void docrypt() { int x; - char *p,*q; + char *p; char buf[STRINGLENGTH]; FILE *f; struct stat sbuf; |