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 diagnostic-only variable
details: https://anonhg.NetBSD.org/src/rev/e588d7d8c7be
branches: trunk
changeset: 790879:e588d7d8c7be
user: martin <martin%NetBSD.org@localhost>
date: Fri Oct 25 20:26:22 2013 +0000
description:
Mark a diagnostic-only variable
diffstat:
sys/uvm/uvm_page.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8efcc04f2097 -r e588d7d8c7be sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c Fri Oct 25 20:25:25 2013 +0000
+++ b/sys/uvm/uvm_page.c Fri Oct 25 20:26:22 2013 +0000
@@ -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 @@
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);
Home |
Main Index |
Thread Index |
Old Index