diff options
author | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2007-05-21 21:15:38 +0000 |
---|---|---|
committer | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2007-05-21 21:15:38 +0000 |
commit | abf813e7df27088369b8b085b47b35d608d40610 (patch) | |
tree | aeb5e39fb15f461f9aa66d98c0405f17bab16f63 /usr.bin | |
parent | dda26711ba2247e552da2b9d9f8eca31cc45613c (diff) |
fix -Wall warning about unused variable `errstr', which was introduced in the previous revision; ok deraadt, otto, tedu
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/systat/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/systat/main.c b/usr.bin/systat/main.c index 4210fc6326f..5676b83235b 100644 --- a/usr.bin/systat/main.c +++ b/usr.bin/systat/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.36 2007/04/24 06:32:08 tedu Exp $ */ +/* $OpenBSD: main.c,v 1.37 2007/05/21 21:15:37 cnst Exp $ */ /* $NetBSD: main.c,v 1.8 1996/05/10 23:16:36 thorpej Exp $ */ /*- @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: main.c,v 1.36 2007/04/24 06:32:08 tedu Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.37 2007/05/21 21:15:37 cnst Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -83,7 +83,6 @@ int main(int argc, char *argv[]) { char errbuf[_POSIX2_LINE_MAX]; - const char *errstr; gid_t gid; int ch; |