Module Name:    src
Committed By:   martin
Date:           Fri Oct 25 20:36:08 UTC 2013

Modified Files:
        src/sys/kern: vfs_bio.c

Log Message:
Mark a diagnostic-only variable


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/sys/kern/vfs_bio.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/kern/vfs_bio.c
diff -u src/sys/kern/vfs_bio.c:1.247 src/sys/kern/vfs_bio.c:1.248
--- src/sys/kern/vfs_bio.c:1.247	Mon Sep 30 18:58:00 2013
+++ src/sys/kern/vfs_bio.c	Fri Oct 25 20:36:08 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: vfs_bio.c,v 1.247 2013/09/30 18:58:00 hannken Exp $	*/
+/*	$NetBSD: vfs_bio.c,v 1.248 2013/10/25 20:36:08 martin Exp $	*/
 
 /*-
  * Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -123,7 +123,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.247 2013/09/30 18:58:00 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.248 2013/10/25 20:36:08 martin Exp $");
 
 #include "opt_bufcache.h"
 
@@ -1211,7 +1211,7 @@ buf_t *
 geteblk(int size)
 {
 	buf_t *bp;
-	int error;
+	int error __diagused;
 
 	mutex_enter(&bufcache_lock);
 	while ((bp = getnewbuf(0, 0, 0)) == NULL)

Reply via email to