Module Name:    src
Committed By:   martin
Date:           Fri Oct 25 20:26:22 UTC 2013

Modified Files:
        src/sys/uvm: uvm_page.c

Log Message:
Mark a diagnostic-only variable


To generate a diff of this commit:
cvs rdiff -u -r1.182 -r1.183 src/sys/uvm/uvm_page.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_page.c
diff -u src/sys/uvm/uvm_page.c:1.182 src/sys/uvm/uvm_page.c:1.183
--- src/sys/uvm/uvm_page.c:1.182	Thu Feb 16 11:46:14 2012
+++ src/sys/uvm/uvm_page.c	Fri Oct 25 20:26:22 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_page.c,v 1.182 2012/02/16 11:46:14 matt Exp $	*/
+/*	$NetBSD: uvm_page.c,v 1.183 2013/10/25 20:26:22 martin Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.182 2012/02/16 11:46:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.183 2013/10/25 20:26:22 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_uvmhist.h"
@@ -239,7 +239,7 @@ uvm_pageinsert_list(struct uvm_object *u
 static inline void
 uvm_pageinsert_tree(struct uvm_object *uobj, struct vm_page *pg)
 {
-	struct vm_page *ret;
+	struct vm_page *ret __diagused;
 
 	KASSERT(uobj == pg->uobject);
 	ret = rb_tree_insert_node(&uobj->rb_tree, pg);

Reply via email to