Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst kill unused variable



details:   https://anonhg.NetBSD.org/src/rev/ee8267b6820c
branches:  trunk
changeset: 772486:ee8267b6820c
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 05 20:22:33 2012 +0000

description:
kill unused variable

diffstat:

 distrib/utils/sysinst/label.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r b8a8fc10acf7 -r ee8267b6820c distrib/utils/sysinst/label.c
--- a/distrib/utils/sysinst/label.c     Thu Jan 05 20:21:35 2012 +0000
+++ b/distrib/utils/sysinst/label.c     Thu Jan 05 20:22:33 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: label.c,v 1.59 2012/01/05 20:21:35 christos Exp $      */
+/*     $NetBSD: label.c,v 1.60 2012/01/05 20:22:33 christos Exp $      */
 
 /*
  * Copyright 1997 Jonathan Stone
@@ -36,7 +36,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: label.c,v 1.59 2012/01/05 20:21:35 christos Exp $");
+__RCSID("$NetBSD: label.c,v 1.60 2012/01/05 20:22:33 christos Exp $");
 #endif
 
 #include <sys/types.h>
@@ -387,7 +387,6 @@
 
        if (all_fstype_menu == -1) {
                for (i = 0; i < nelem(all_fstypes); i++) {
-                       char buf[128];
                        all_fstypes[i].opt_name = getfstypename(i);
                        all_fstypes[i].opt_menu = OPT_NOMENU;
                        all_fstypes[i].opt_flags = 0;



Home | Main Index | Thread Index | Old Index