Module Name: src Committed By: martin Date: Fri Oct 25 20:25:25 UTC 2013
Modified Files: src/sys/uvm: uvm_map.c Log Message: Mark diagnostic-only variables To generate a diff of this commit: cvs rdiff -u -r1.325 -r1.326 src/sys/uvm/uvm_map.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/uvm/uvm_map.c diff -u src/sys/uvm/uvm_map.c:1.325 src/sys/uvm/uvm_map.c:1.326 --- src/sys/uvm/uvm_map.c:1.325 Fri Oct 25 14:20:11 2013 +++ src/sys/uvm/uvm_map.c Fri Oct 25 20:25:25 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_map.c,v 1.325 2013/10/25 14:20:11 martin Exp $ */ +/* $NetBSD: uvm_map.c,v 1.326 2013/10/25 20:25:25 martin Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.325 2013/10/25 14:20:11 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.326 2013/10/25 20:25:25 martin Exp $"); #include "opt_ddb.h" #include "opt_uvmhist.h" @@ -404,7 +404,7 @@ uvm_rb_fixup(struct vm_map *map, struct static void uvm_rb_insert(struct vm_map *map, struct vm_map_entry *entry) { - struct vm_map_entry *ret; + struct vm_map_entry *ret __diagused; entry->gap = entry->maxgap = uvm_rb_gap(entry); if (entry->prev != &map->header) @@ -1798,7 +1798,7 @@ uvm_map_findspace(struct vm_map *map, va { struct vm_map_entry *entry; struct vm_map_entry *child, *prev, *tmp; - vaddr_t orig_hint; + vaddr_t orig_hint __diagused; const int topdown = map->flags & VM_MAP_TOPDOWN; UVMHIST_FUNC("uvm_map_findspace"); UVMHIST_CALLED(maphist);