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 variable usage, fix non DIAGNOSTIC non DEBU...



details:   https://anonhg.NetBSD.org/src/rev/3fb9f1d01a6f
branches:  trunk
changeset: 325263:3fb9f1d01a6f
user:      para <para%NetBSD.org@localhost>
date:      Sun Dec 15 17:15:34 2013 +0000

description:
mark variable usage, fix non DIAGNOSTIC non DEBUG build

diffstat:

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

diffs (27 lines):

diff -r 382760201f9d -r 3fb9f1d01a6f sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Sun Dec 15 15:55:39 2013 +0000
+++ b/sys/dev/usb/ehci.c        Sun Dec 15 17:15:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.222 2013/12/15 10:25:23 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.223 2013/12/15 17:15:34 para 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.222 2013/12/15 10:25:23 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.223 2013/12/15 17:15:34 para Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -3364,7 +3364,7 @@
        usb_device_request_t *req = &xfer->request;
        usbd_device_handle dev = epipe->pipe.device;
        ehci_softc_t *sc = dev->bus->hci_private;
-       int addr = dev->address;
+       int addr __diagused = dev->address;
        ehci_soft_qtd_t *setup, *stat, *next;
        ehci_soft_qh_t *sqh;
        int isread;



Home | Main Index | Thread Index | Old Index