Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/hp700 Add __unused to a variable



details:   https://anonhg.NetBSD.org/src/rev/4f71640d84be
branches:  trunk
changeset: 790673:4f71640d84be
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 19 13:15:53 2013 +0000

description:
Add __unused to a variable

diffstat:

 sys/arch/hp700/hp700/mainbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2487b58f04cf -r 4f71640d84be sys/arch/hp700/hp700/mainbus.c
--- a/sys/arch/hp700/hp700/mainbus.c    Sat Oct 19 13:13:09 2013 +0000
+++ b/sys/arch/hp700/hp700/mainbus.c    Sat Oct 19 13:15:53 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.83 2012/05/23 16:11:37 skrll Exp $       */
+/*     $NetBSD: mainbus.c,v 1.84 2013/10/19 13:15:53 skrll Exp $       */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.83 2012/05/23 16:11:37 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.84 2013/10/19 13:15:53 skrll Exp $");
 
 #include "locators.h"
 #include "power.h"
@@ -1243,7 +1243,7 @@
        bmask = ~(map->_dm_boundary - 1);
 
        for (seg = *segp; buflen > 0; ) {
-               bool ok;
+               bool ok __unused;
                /*
                 * Get the physical address for this segment.
                 */



Home | Main Index | Thread Index | Old Index