Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb mark a variable __diagused



details:   https://anonhg.NetBSD.org/src/rev/1b82e41db88f
branches:  trunk
changeset: 791089:1b82e41db88f
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 04 16:54:36 2013 +0000

description:
mark a variable __diagused

diffstat:

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

diffs (27 lines):

diff -r fe79b31e0ab0 -r 1b82e41db88f sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Mon Nov 04 16:54:12 2013 +0000
+++ b/sys/dev/usb/ehci.c        Mon Nov 04 16:54:36 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.214 2013/11/01 15:33:48 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.215 2013/11/04 16:54:36 christos Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.214 2013/11/01 15:33:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.215 2013/11/04 16:54:36 christos Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -1902,7 +1902,7 @@
 Static void
 ehci_sync_hc(ehci_softc_t *sc)
 {
-       int error;
+       int error __diagused;
 
        KASSERT(mutex_owned(&sc->sc_lock));
 



Home | Main Index | Thread Index | Old Index