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 as potentially unused



details:   https://anonhg.NetBSD.org/src/rev/ab314bdd412f
branches:  trunk
changeset: 790067:ab314bdd412f
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Sep 15 15:52:35 2013 +0000

description:
Mark a variable as potentially unused

diffstat:

 sys/uvm/uvm_fault.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9b120acd7ae9 -r ab314bdd412f sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c       Sun Sep 15 15:51:23 2013 +0000
+++ b/sys/uvm/uvm_fault.c       Sun Sep 15 15:52:35 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_fault.c,v 1.194 2012/02/19 00:05:55 rmind Exp $    */
+/*     $NetBSD: uvm_fault.c,v 1.195 2013/09/15 15:52:35 martin Exp $   */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.194 2012/02/19 00:05:55 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.195 2013/09/15 15:52:35 martin Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -1170,7 +1170,7 @@
        struct vm_amap *amap = ufi->entry->aref.ar_amap;
        int lcv;
        vaddr_t currva;
-       bool shadowed;
+       bool shadowed __unused;
        UVMHIST_FUNC("uvm_fault_upper_lookup"); UVMHIST_CALLED(maphist);
 
        /* locked: maps(read), amap(if there) */



Home | Main Index | Thread Index | Old Index