diff options
| author | christos <christos@NetBSD.org> | 2006-12-18 00:40:14 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-12-18 00:40:14 +0000 |
| commit | cdcb070b9c8b6f0c84c5c5e9ab0c20dfebd4d9c0 (patch) | |
| tree | f8ebee7ea714376a193abcdc0e8f4da1d7241462 /lib/libc/stdlib | |
| parent | a54fe38a0de3264fbc840c01cd6d0722707941e0 (diff) | |
remove bogus (void)&var; From Anon Ymous
Diffstat (limited to 'lib/libc/stdlib')
| -rw-r--r-- | lib/libc/stdlib/strtoimax.c | 9 | ||||
| -rw-r--r-- | lib/libc/stdlib/strtoq.c | 9 |
2 files changed, 4 insertions, 14 deletions
diff --git a/lib/libc/stdlib/strtoimax.c b/lib/libc/stdlib/strtoimax.c index b985be478a8..7f3cf80eb76 100644 --- a/lib/libc/stdlib/strtoimax.c +++ b/lib/libc/stdlib/strtoimax.c @@ -1,4 +1,4 @@ -/* $NetBSD: strtoimax.c,v 1.4 2005/11/29 03:12:00 christos Exp $ */ +/* $NetBSD: strtoimax.c,v 1.5 2006/12/18 00:40:14 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "from: @(#)strtoq.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: strtoimax.c,v 1.4 2005/11/29 03:12:00 christos Exp $"); +__RCSID("$NetBSD: strtoimax.c,v 1.5 2006/12/18 00:40:14 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -70,11 +70,6 @@ _strtoimax(nptr, endptr, base) _DIAGASSERT(nptr != NULL); /* endptr may be NULL */ -#ifdef __GNUC__ - /* This outrageous construct just to shut up a GCC warning. */ - (void) &acc; (void) &cutoff; -#endif - /* * Skip white space and pick up leading +/- sign if any. * If base is 0, allow 0x for hex and 0 for octal, else diff --git a/lib/libc/stdlib/strtoq.c b/lib/libc/stdlib/strtoq.c index 4a8b82fb3ca..894a315746b 100644 --- a/lib/libc/stdlib/strtoq.c +++ b/lib/libc/stdlib/strtoq.c @@ -1,4 +1,4 @@ -/* $NetBSD: strtoq.c,v 1.17 2005/11/29 03:12:00 christos Exp $ */ +/* $NetBSD: strtoq.c,v 1.18 2006/12/18 00:40:14 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)strtoq.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: strtoq.c,v 1.17 2005/11/29 03:12:00 christos Exp $"); +__RCSID("$NetBSD: strtoq.c,v 1.18 2006/12/18 00:40:14 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -66,11 +66,6 @@ strtoq(nptr, endptr, base) _DIAGASSERT(nptr != NULL); /* endptr may be NULL */ -#ifdef __GNUC__ - /* This outrageous construct just to shut up a GCC warning. */ - (void) &acc; (void) &cutoff; -#endif - /* * Skip white space and pick up leading +/- sign if any. * If base is 0, allow 0x for hex and 0 for octal, else |
