Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun3/sun3x Fix unused variable warning



details:   https://anonhg.NetBSD.org/src/rev/1cc4901ba7f9
branches:  trunk
changeset: 471813:1cc4901ba7f9
user:      gwr <gwr%NetBSD.org@localhost>
date:      Mon Apr 12 01:30:22 1999 +0000

description:
Fix unused variable warning

diffstat:

 sys/arch/sun3/sun3x/idprom.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2d7f594df9dd -r 1cc4901ba7f9 sys/arch/sun3/sun3x/idprom.c
--- a/sys/arch/sun3/sun3x/idprom.c      Mon Apr 12 01:05:01 1999 +0000
+++ b/sys/arch/sun3/sun3x/idprom.c      Mon Apr 12 01:30:22 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: idprom.c,v 1.7 1999/04/08 04:08:01 gwr Exp $   */
+/*     $NetBSD: idprom.c,v 1.8 1999/04/12 01:30:22 gwr Exp $   */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -145,7 +145,7 @@
 {
        u_char *src;
        caddr_t va;
-       int len, x;
+       int len;
 
        /* First, probe for a separate IDPROM (3/470). */
        va = obio_find_mapping(OBIO_IDPROM1, IDPROM_SIZE);



Home | Main Index | Thread Index | Old Index