Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Remove unused variable.



details:   https://anonhg.NetBSD.org/src/rev/44c344024c08
branches:  trunk
changeset: 477537:44c344024c08
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Oct 20 14:21:10 1999 +0000

description:
Remove unused variable.

diffstat:

 sys/arch/mips/mips/mips_machdep.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 4b6f60cf8ad0 -r 44c344024c08 sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Wed Oct 20 12:27:38 1999 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Wed Oct 20 14:21:10 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mips_machdep.c,v 1.57 1999/10/18 17:23:00 soren Exp $  */
+/*     $NetBSD: mips_machdep.c,v 1.58 1999/10/20 14:21:10 simonb Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.57 1999/10/18 17:23:00 soren Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.58 1999/10/20 14:21:10 simonb Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_compat_ultrix.h"
@@ -342,9 +342,6 @@
 void
 mips_vector_init()
 {
-       int i;
-
-       (void) &i;              /* shut off gcc unused-variable warnings */
 
        /*
         * Copy exception-dispatch code down to exception vector.



Home | Main Index | Thread Index | Old Index