Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Mark a variable used only in diagnostics
details: https://anonhg.NetBSD.org/src/rev/a1b44977b769
branches: trunk
changeset: 327005:a1b44977b769
user: martin <martin%NetBSD.org@localhost>
date: Tue Feb 25 14:22:59 2014 +0000
description:
Mark a variable used only in diagnostics
diffstat:
sys/uvm/uvm_kmguard.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0af9559c3cf9 -r a1b44977b769 sys/uvm/uvm_kmguard.c
--- a/sys/uvm/uvm_kmguard.c Tue Feb 25 14:16:25 2014 +0000
+++ b/sys/uvm/uvm_kmguard.c Tue Feb 25 14:22:59 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_kmguard.c,v 1.10 2012/02/20 19:14:23 bouyer Exp $ */
+/* $NetBSD: uvm_kmguard.c,v 1.11 2014/02/25 14:22:59 martin Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_kmguard.c,v 1.10 2012/02/20 19:14:23 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_kmguard.c,v 1.11 2014/02/25 14:22:59 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -157,7 +157,7 @@
{
vaddr_t va;
u_int rotor;
- void **c;
+ void **c __diagused;
if (len > MAXSIZE) {
return false;
Home |
Main Index |
Thread Index |
Old Index