Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdio remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/0713c6481eca
branches:  trunk
changeset: 777417:0713c6481eca
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 17 23:58:36 2012 +0000

description:
remove unused variable

diffstat:

 lib/libc/stdio/vfwprintf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d5e7a1f7b0d7 -r 0713c6481eca lib/libc/stdio/vfwprintf.c
--- a/lib/libc/stdio/vfwprintf.c        Fri Feb 17 23:41:02 2012 +0000
+++ b/lib/libc/stdio/vfwprintf.c        Fri Feb 17 23:58:36 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfwprintf.c,v 1.25 2012/02/17 19:57:53 christos Exp $  */
+/*     $NetBSD: vfwprintf.c,v 1.26 2012/02/17 23:58:36 christos Exp $  */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -38,7 +38,7 @@
 static char sccsid[] = "@(#)vfprintf.c 8.1 (Berkeley) 6/4/93";
 __FBSDID("$FreeBSD: src/lib/libc/stdio/vfwprintf.c,v 1.27 2007/01/09 00:28:08 imp Exp $");
 #else
-__RCSID("$NetBSD: vfwprintf.c,v 1.25 2012/02/17 19:57:53 christos Exp $");
+__RCSID("$NetBSD: vfwprintf.c,v 1.26 2012/02/17 23:58:36 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -1931,7 +1931,7 @@
        enum typeid *const oldtable = *typetable;
        const int oldsize = *tablesize;
        enum typeid *newtable;
-       size_t n, newsize = oldsize * 2;
+       size_t newsize = oldsize * 2;
 
        if (newsize < nextarg + 1)
                newsize = nextarg + 1;



Home | Main Index | Thread Index | Old Index