Module Name: src
Committed By: mrg
Date: Wed Oct 30 08:39:01 UTC 2013
Modified Files:
src/distrib/utils/sysinst: disks.c
Log Message:
remove unused variables
To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/distrib/utils/sysinst/disks.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/sysinst/disks.c
diff -u src/distrib/utils/sysinst/disks.c:1.127 src/distrib/utils/sysinst/disks.c:1.128
--- src/distrib/utils/sysinst/disks.c:1.127 Sat Nov 17 20:34:24 2012
+++ src/distrib/utils/sysinst/disks.c Wed Oct 30 08:39:01 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: disks.c,v 1.127 2012/11/17 20:34:24 tsutsui Exp $ */
+/* $NetBSD: disks.c,v 1.128 2013/10/30 08:39:01 mrg Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -494,13 +494,11 @@ fmt_fspart(menudesc *m, int ptn, void *a
{
unsigned int poffset, psize, pend;
const char *desc;
- static const char *Yes, *No;
+ static const char *Yes;
partinfo *p = bsdlabel + ptn;
- if (Yes == NULL) {
+ if (Yes == NULL)
Yes = msg_string(MSG_Yes);
- No = msg_string(MSG_No);
- }
poffset = p->pi_offset / sizemult;
psize = p->pi_size / sizemult;