Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Mark a diagnostic only variable
details: https://anonhg.NetBSD.org/src/rev/29e9454682fe
branches: trunk
changeset: 326393:29e9454682fe
user: martin <martin%NetBSD.org@localhost>
date: Tue Jan 28 12:50:54 2014 +0000
description:
Mark a diagnostic only variable
diffstat:
sys/kern/bufq_priocscan.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2bd878cc293f -r 29e9454682fe sys/kern/bufq_priocscan.c
--- a/sys/kern/bufq_priocscan.c Tue Jan 28 12:22:32 2014 +0000
+++ b/sys/kern/bufq_priocscan.c Tue Jan 28 12:50:54 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bufq_priocscan.c,v 1.17 2012/02/17 08:45:11 yamt Exp $ */
+/* $NetBSD: bufq_priocscan.c,v 1.18 2014/01/28 12:50:54 martin Exp $ */
/*-
* Copyright (c)2004,2005,2006,2008,2009,2011,2012 YAMAMOTO Takashi,
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bufq_priocscan.c,v 1.17 2012/02/17 08:45:11 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bufq_priocscan.c,v 1.18 2014/01/28 12:50:54 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -144,7 +144,7 @@
static void
cscan_put(struct cscan_queue *q, struct buf *bp)
{
- struct buf *obp;
+ struct buf *obp __diagused;
obp = rb_tree_insert_node(&q->cq_buffers, bp);
KASSERT(obp == bp); /* see cscan_tree_compare_nodes */
Home |
Main Index |
Thread Index |
Old Index