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 variables as potentially unused
details: https://anonhg.NetBSD.org/src/rev/1b8a76024eb8
branches: trunk
changeset: 790033:1b8a76024eb8
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 12:47:26 2013 +0000
description:
Mark variables as potentially unused
diffstat:
sys/dev/raidframe/rf_raid1.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 600fab631d37 -r 1b8a76024eb8 sys/dev/raidframe/rf_raid1.c
--- a/sys/dev/raidframe/rf_raid1.c Sun Sep 15 12:45:11 2013 +0000
+++ b/sys/dev/raidframe/rf_raid1.c Sun Sep 15 12:47:26 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_raid1.c,v 1.34 2011/05/02 07:29:18 mrg Exp $ */
+/* $NetBSD: rf_raid1.c,v 1.35 2013/09/15 12:47:26 martin Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,7 +33,7 @@
*****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_raid1.c,v 1.34 2011/05/02 07:29:18 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_raid1.c,v 1.35 2013/09/15 12:47:26 martin Exp $");
#include "rf_raid.h"
#include "rf_raid1.h"
@@ -171,11 +171,11 @@
rf_RAID1DagSelect(RF_Raid_t *raidPtr, RF_IoType_t type,
RF_AccessStripeMap_t *asmap, RF_VoidFuncPtr *createFunc)
{
- RF_RowCol_t fcol, oc;
+ RF_RowCol_t fcol, oc __unused;
RF_PhysDiskAddr_t *failedPDA;
int prior_recon;
RF_RowStatus_t rstat;
- RF_SectorNum_t oo;
+ RF_SectorNum_t oo __unused;
RF_ASSERT(RF_IO_IS_R_OR_W(type));
Home |
Main Index |
Thread Index |
Old Index