Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap Mark a potentially unused variable
details: https://anonhg.NetBSD.org/src/rev/57259ab36ae4
branches: trunk
changeset: 327007:57259ab36ae4
user: martin <martin%NetBSD.org@localhost>
date: Tue Feb 25 15:20:29 2014 +0000
description:
Mark a potentially unused variable
diffstat:
sys/uvm/pmap/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cc3bc740aa11 -r 57259ab36ae4 sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c Tue Feb 25 14:33:32 2014 +0000
+++ b/sys/uvm/pmap/pmap.c Tue Feb 25 15:20:29 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.3 2013/07/22 03:40:36 matt Exp $ */
+/* $NetBSD: pmap.c,v 1.4 2014/02/25 15:20:29 martin Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.3 2013/07/22 03:40:36 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.4 2014/02/25 15:20:29 martin Exp $");
/*
* Manages physical address maps.
@@ -1479,7 +1479,7 @@
struct vm_page_md * const mdpg = VM_PAGE_TO_MD(pg);
pv_entry_t pv, npv, apv;
int16_t gen;
- bool first = false;
+ bool first __unused = false;
UVMHIST_FUNC(__func__); UVMHIST_CALLED(pmaphist);
UVMHIST_LOG(pmaphist,
Home |
Main Index |
Thread Index |
Old Index