Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Mark a diagnostic only variable



details:   https://anonhg.NetBSD.org/src/rev/241427eca805
branches:  trunk
changeset: 345287:241427eca805
user:      martin <martin%NetBSD.org@localhost>
date:      Tue May 17 03:20:58 2016 +0000

description:
Mark a diagnostic only variable

diffstat:

 sys/dev/ic/sl811hs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e517378c7c42 -r 241427eca805 sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c      Tue May 17 00:39:43 2016 +0000
+++ b/sys/dev/ic/sl811hs.c      Tue May 17 03:20:58 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sl811hs.c,v 1.75 2016/05/16 15:09:29 skrll Exp $       */
+/*     $NetBSD: sl811hs.c,v 1.76 2016/05/17 03:20:58 martin Exp $      */
 
 /*
  * Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.75 2016/05/16 15:09:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.76 2016/05/17 03:20:58 martin Exp $");
 
 #include "opt_slhci.h"
 
@@ -986,7 +986,7 @@
 {
        SLHCIHIST_FUNC(); SLHCIHIST_CALLED();
        struct slhci_softc *sc;
-       struct slhci_pipe *spipe;
+       struct slhci_pipe *spipe __diagused;
 
        spipe = SLHCI_PIPE2SPIPE(xfer->ux_pipe);
        sc = SLHCI_XFER2SC(xfer);



Home | Main Index | Thread Index | Old Index