Source-Changes-HG archive

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

[src/trunk]: src/sbin/fdisk Remove some unused variabled from get_params_to_u...



details:   https://anonhg.NetBSD.org/src/rev/07181508e02e
branches:  trunk
changeset: 546533:07181508e02e
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Thu May 01 09:23:30 2003 +0000

description:
Remove some unused variabled from get_params_to_use() in the !i386 && !amd64
case.

diffstat:

 sbin/fdisk/fdisk.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 8295c19b9bf7 -r 07181508e02e sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c        Thu May 01 09:15:56 2003 +0000
+++ b/sbin/fdisk/fdisk.c        Thu May 01 09:23:30 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdisk.c,v 1.62 2003/04/30 19:47:10 dsl Exp $ */
+/*     $NetBSD: fdisk.c,v 1.63 2003/05/01 09:23:30 bjh21 Exp $ */
 
 /*
  * Mach Operating System
@@ -35,7 +35,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: fdisk.c,v 1.62 2003/04/30 19:47:10 dsl Exp $");
+__RCSID("$NetBSD: fdisk.c,v 1.63 2003/05/01 09:23:30 bjh21 Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -2070,8 +2070,10 @@
 void
 get_params_to_use(void)
 {
+#if defined(__i386__) || defined(__x86_64__)
        struct biosdisk_info *bip;
        int i;
+#endif
 
        if (b_flag) {
                dos_cylinders = b_cyl;



Home | Main Index | Thread Index | Old Index