Module Name:    src
Committed By:   martin
Date:           Fri Oct 25 16:23:46 UTC 2013

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

Log Message:
Mark a diagnostic-only variable


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/kern/sys_aio.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/sys_aio.c
diff -u src/sys/kern/sys_aio.c:1.37 src/sys/kern/sys_aio.c:1.38
--- src/sys/kern/sys_aio.c:1.37	Thu Feb 17 19:02:50 2011
+++ src/sys/kern/sys_aio.c	Fri Oct 25 16:23:46 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: sys_aio.c,v 1.37 2011/02/17 19:02:50 matt Exp $	*/
+/*	$NetBSD: sys_aio.c,v 1.38 2013/10/25 16:23:46 martin Exp $	*/
 
 /*
  * Copyright (c) 2007 Mindaugas Rasiukevicius <rmind at NetBSD org>
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_aio.c,v 1.37 2011/02/17 19:02:50 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_aio.c,v 1.38 2013/10/25 16:23:46 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -280,7 +280,7 @@ aio_worker(void *arg)
 	struct aio_job *a_job;
 	struct lio_req *lio;
 	sigset_t oss, nss;
-	int error, refcnt;
+	int error __diagused, refcnt;
 
 	/*
 	 * Make an empty signal mask, so it

Reply via email to