Module Name:    src
Committed By:   christos
Date:           Fri Feb 17 23:58:36 UTC 2012

Modified Files:
        src/lib/libc/stdio: vfwprintf.c

Log Message:
remove unused variable


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libc/stdio/vfwprintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdio/vfwprintf.c
diff -u src/lib/libc/stdio/vfwprintf.c:1.25 src/lib/libc/stdio/vfwprintf.c:1.26
--- src/lib/libc/stdio/vfwprintf.c:1.25	Fri Feb 17 14:57:53 2012
+++ src/lib/libc/stdio/vfwprintf.c	Fri Feb 17 18:58:36 2012
@@ -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 @@ __grow_type_table (size_t nextarg, enum 
 	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;

Reply via email to