Module Name:    src
Committed By:   martin
Date:           Fri Oct 25 20:28:33 UTC 2013

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

Log Message:
Mark a diagnostic-only variable


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/uvm/uvm_pdaemon.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_pdaemon.c
diff -u src/sys/uvm/uvm_pdaemon.c:1.107 src/sys/uvm/uvm_pdaemon.c:1.108
--- src/sys/uvm/uvm_pdaemon.c:1.107	Mon Jul 30 23:56:48 2012
+++ src/sys/uvm/uvm_pdaemon.c	Fri Oct 25 20:28:33 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_pdaemon.c,v 1.107 2012/07/30 23:56:48 matt Exp $	*/
+/*	$NetBSD: uvm_pdaemon.c,v 1.108 2013/10/25 20:28:33 martin Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pdaemon.c,v 1.107 2012/07/30 23:56:48 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pdaemon.c,v 1.108 2013/10/25 20:28:33 martin Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_readahead.h"
@@ -516,7 +516,7 @@ swapcluster_flush(struct swapcluster *sw
 	int slot;
 	int nused;
 	int nallocated;
-	int error;
+	int error __diagused;
 
 	if (swc->swc_slot == 0) {
 		return;

Reply via email to