Module Name: src
Committed By: martin
Date: Fri Oct 25 16:18:37 UTC 2013
Modified Files:
src/sys/kern: subr_xcall.c
Log Message:
Mark a diagnostic-only variable
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/subr_xcall.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/subr_xcall.c
diff -u src/sys/kern/subr_xcall.c:1.15 src/sys/kern/subr_xcall.c:1.16
--- src/sys/kern/subr_xcall.c:1.15 Sun Apr 7 00:31:40 2013
+++ src/sys/kern/subr_xcall.c Fri Oct 25 16:18:36 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_xcall.c,v 1.15 2013/04/07 00:31:40 rmind Exp $ */
+/* $NetBSD: subr_xcall.c,v 1.16 2013/10/25 16:18:36 martin Exp $ */
/*-
* Copyright (c) 2007-2010 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_xcall.c,v 1.15 2013/04/07 00:31:40 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_xcall.c,v 1.16 2013/10/25 16:18:36 martin Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -159,7 +159,7 @@ void
xc_init_cpu(struct cpu_info *ci)
{
static bool again = false;
- int error;
+ int error __diagused;
if (!again) {
/* Autoconfiguration will prevent re-entry. */