diff options
author | 1996-09-15 09:30:42 +0000 | |
---|---|---|
committer | 1996-09-15 09:30:42 +0000 | |
commit | c8f91e0d750eb1dd5aa79a93a20a522c47067c28 (patch) | |
tree | 151e2a572b80f59c243874a0738c218470cf1bc0 /lib/libc/stdio/vsscanf.c | |
parent | print debugging flags in usage(); idea from freebsd (diff) | |
download | wireguard-openbsd-c8f91e0d750eb1dd5aa79a93a20a522c47067c28.tar.xz wireguard-openbsd-c8f91e0d750eb1dd5aa79a93a20a522c47067c28.zip |
Remove dead code
Remove unused variables
Silence some warnings
lint(1) is your friend
Diffstat (limited to 'lib/libc/stdio/vsscanf.c')
-rw-r--r-- | lib/libc/stdio/vsscanf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdio/vsscanf.c b/lib/libc/stdio/vsscanf.c index 3b9e70d2dcd..a9b227048e6 100644 --- a/lib/libc/stdio/vsscanf.c +++ b/lib/libc/stdio/vsscanf.c @@ -35,7 +35,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: vsscanf.c,v 1.2 1996/08/19 08:33:15 tholo Exp $"; +static char rcsid[] = "$OpenBSD: vsscanf.c,v 1.3 1996/09/15 09:31:47 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -57,7 +57,6 @@ vsscanf(str, fmt, ap) const char *fmt; _BSD_VA_LIST_ ap; { - int ret; FILE f; f._flags = __SRD; |