Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ews4800mips/sbd fix set but unused variable



details:   https://anonhg.NetBSD.org/src/rev/bfb019e5f81d
branches:  trunk
changeset: 326232:bfb019e5f81d
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 22 18:20:41 2014 +0000

description:
fix set but unused variable

diffstat:

 sys/arch/ews4800mips/sbd/if_iee_sbdio.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 2d6af90ce37d -r bfb019e5f81d sys/arch/ews4800mips/sbd/if_iee_sbdio.c
--- a/sys/arch/ews4800mips/sbd/if_iee_sbdio.c   Wed Jan 22 17:29:29 2014 +0000
+++ b/sys/arch/ews4800mips/sbd/if_iee_sbdio.c   Wed Jan 22 18:20:41 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iee_sbdio.c,v 1.10 2009/12/01 23:16:00 skrll Exp $  */
+/*     $NetBSD: if_iee_sbdio.c,v 1.11 2014/01/22 18:20:41 christos Exp $       */
 
 /*
  * Copyright (c) 2003 Jochen Kunz.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iee_sbdio.c,v 1.10 2009/12/01 23:16:00 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iee_sbdio.c,v 1.11 2014/01/22 18:20:41 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -197,6 +197,7 @@
        /* Issue a Channel Attention */
        dummy = *sc->sc_port;
        dummy = *sc->sc_port;
+       __USE(dummy);
 }
 
 static void



Home | Main Index | Thread Index | Old Index