Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe Mark a variable as potentially unused



details:   https://anonhg.NetBSD.org/src/rev/effd0ab4dea9
branches:  trunk
changeset: 790034:effd0ab4dea9
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 15 12:48:58 2013 +0000

description:
Mark a variable as potentially unused

diffstat:

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

diffs (27 lines):

diff -r 1b8a76024eb8 -r effd0ab4dea9 sys/dev/raidframe/rf_reconutil.c
--- a/sys/dev/raidframe/rf_reconutil.c  Sun Sep 15 12:47:26 2013 +0000
+++ b/sys/dev/raidframe/rf_reconutil.c  Sun Sep 15 12:48:58 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_reconutil.c,v 1.34 2011/05/11 18:13:12 mrg Exp $    */
+/*     $NetBSD: rf_reconutil.c,v 1.35 2013/09/15 12:48:58 martin Exp $ */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -31,7 +31,7 @@
  ********************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_reconutil.c,v 1.34 2011/05/11 18:13:12 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_reconutil.c,v 1.35 2013/09/15 12:48:58 martin Exp $");
 
 #include <dev/raidframe/raidframevar.h>
 
@@ -248,7 +248,7 @@
 rf_FreeReconBuffer(RF_ReconBuffer_t *rbuf)
 {
        RF_Raid_t *raidPtr = rbuf->raidPtr;
-       u_int   recon_buffer_size;
+       u_int   recon_buffer_size __unused;
 
        recon_buffer_size = rf_RaidAddressToByte(raidPtr, raidPtr->Layout.SUsPerRU * raidPtr->Layout.sectorsPerStripeUnit);
 



Home | Main Index | Thread Index | Old Index