From ffa6cd4432c5737f9500a30ba6add059ac6b675b Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 15 Sep 2013 12:45:11 +0000 Subject: ifdef variables like their use --- sys/dev/raidframe/rf_engine.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/dev/raidframe') diff --git a/sys/dev/raidframe/rf_engine.c b/sys/dev/raidframe/rf_engine.c index e2a566f9a60..39c4adcb1b0 100644 --- a/sys/dev/raidframe/rf_engine.c +++ b/sys/dev/raidframe/rf_engine.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_engine.c,v 1.48 2013/04/27 21:18:42 christos Exp $ */ +/* $NetBSD: rf_engine.c,v 1.49 2013/09/15 12:45:11 martin Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -55,7 +55,7 @@ ****************************************************************************/ #include -__KERNEL_RCSID(0, "$NetBSD: rf_engine.c,v 1.48 2013/04/27 21:18:42 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_engine.c,v 1.49 2013/09/15 12:45:11 martin Exp $"); #include @@ -631,9 +631,11 @@ PropagateResults(RF_DagNode_t *node, int context) static void ProcessNode(RF_DagNode_t *node, int context) { +#if RF_DEBUG_ENGINE RF_Raid_t *raidPtr; raidPtr = node->dagHdr->raidPtr; +#endif switch (node->status) { case rf_good: -- cgit