remove bogus (void)&var; From Anon Ymous

This commit is contained in:
christos 2006-12-18 00:40:14 +00:00
parent a54fe38a0d
commit cdcb070b9c
3 changed files with 6 additions and 21 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fseeko.c,v 1.5 2005/03/04 16:04:58 dsl Exp $ */
/* $NetBSD: fseeko.c,v 1.6 2006/12/18 00:40:14 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: fseeko.c,v 1.5 2005/03/04 16:04:58 dsl Exp $");
__RCSID("$NetBSD: fseeko.c,v 1.6 2006/12/18 00:40:14 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@ -70,11 +70,6 @@ fseeko(FILE *fp, off_t offset, int whence)
_DIAGASSERT(fp != NULL);
#ifdef __GNUC__
/* This outrageous construct just to shut up a GCC warning. */
(void) &curoff;
#endif
/* make sure stdio is set up */
if (!__sdidinit)
__sinit();

View File

@ -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

View File

@ -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