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 potentially unused variable



details:   https://anonhg.NetBSD.org/src/rev/860c7cd37c88
branches:  trunk
changeset: 790055:860c7cd37c88
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 15 15:06:04 2013 +0000

description:
Mark a potentially unused variable

diffstat:

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

diffs (27 lines):

diff -r f2d7f873cbca -r 860c7cd37c88 sys/dev/usb/ucycom.c
--- a/sys/dev/usb/ucycom.c      Sun Sep 15 15:04:47 2013 +0000
+++ b/sys/dev/usb/ucycom.c      Sun Sep 15 15:06:04 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucycom.c,v 1.35 2013/01/09 23:02:59 skrll Exp $        */
+/*     $NetBSD: ucycom.c,v 1.36 2013/09/15 15:06:04 martin Exp $       */
 
 /*
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ucycom.c,v 1.35 2013/01/09 23:02:59 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucycom.c,v 1.36 2013/09/15 15:06:04 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -452,7 +452,7 @@
 {
        struct ucycom_softc *sc =
            device_lookup_private(&ucycom_cd, UCYCOMUNIT(tp->t_dev));
-       usbd_status err;
+       usbd_status err __unused;
        u_char *data;
        int cnt, len, s;
 



Home | Main Index | Thread Index | Old Index