Module Name: src
Committed By: skrll
Date: Sat Oct 19 13:15:53 UTC 2013
Modified Files:
src/sys/arch/hp700/hp700: mainbus.c
Log Message:
Add __unused to a variable
To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/hp700/hp700/mainbus.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hp700/hp700/mainbus.c
diff -u src/sys/arch/hp700/hp700/mainbus.c:1.83 src/sys/arch/hp700/hp700/mainbus.c:1.84
--- src/sys/arch/hp700/hp700/mainbus.c:1.83 Wed May 23 16:11:37 2012
+++ src/sys/arch/hp700/hp700/mainbus.c Sat Oct 19 13:15:53 2013
@@ -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 @@ _bus_dmamap_load_buffer(bus_dma_tag_t t,
bmask = ~(map->_dm_boundary - 1);
for (seg = *segp; buflen > 0; ) {
- bool ok;
+ bool ok __unused;
/*
* Get the physical address for this segment.
*/