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



details:   https://anonhg.NetBSD.org/src/rev/fd3361a6f0fa
branches:  trunk
changeset: 790018:fd3361a6f0fa
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 15 09:26:39 2013 +0000

description:
Mark a variable as potentially unused

diffstat:

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

diffs (27 lines):

diff -r d8a51c710534 -r fd3361a6f0fa sys/dev/ic/pdq.c
--- a/sys/dev/ic/pdq.c  Sun Sep 15 09:25:22 2013 +0000
+++ b/sys/dev/ic/pdq.c  Sun Sep 15 09:26:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pdq.c,v 1.39 2005/12/11 12:21:28 christos Exp $        */
+/*     $NetBSD: pdq.c,v 1.40 2013/09/15 09:26:39 martin Exp $  */
 
 /*-
  * Copyright (c) 1995,1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pdq.c,v 1.39 2005/12/11 12:21:28 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pdq.c,v 1.40 2013/09/15 09:26:39 martin Exp $");
 
 #define        PDQ_HWSUPPORT   /* for pdq.h */
 
@@ -626,7 +626,7 @@
     pdq_descriptor_block_t * const dbp = pdq->pdq_dbp;
     const pdq_response_generic_t *rspgen;
     pdq_cmd_code_t op;
-    pdq_response_code_t status;
+    pdq_response_code_t status __unused;
 
     /*
      * We have to process the command and response in tandem so



Home | Main Index | Thread Index | Old Index