Module Name: src
Committed By: martin
Date: Fri Oct 25 16:01:56 UTC 2013
Modified Files:
src/sys/nfs: nfs_iod.c
Log Message:
Mark a diagnostic-only variable
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/nfs/nfs_iod.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/nfs/nfs_iod.c
diff -u src/sys/nfs/nfs_iod.c:1.5 src/sys/nfs/nfs_iod.c:1.6
--- src/sys/nfs/nfs_iod.c:1.5 Sat Sep 14 21:17:00 2013
+++ src/sys/nfs/nfs_iod.c Fri Oct 25 16:01:56 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_iod.c,v 1.5 2013/09/14 21:17:00 martin Exp $ */
+/* $NetBSD: nfs_iod.c,v 1.6 2013/10/25 16:01:56 martin Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_iod.c,v 1.5 2013/09/14 21:17:00 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_iod.c,v 1.6 2013/10/25 16:01:56 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -194,7 +194,7 @@ nfs_iodinit(void)
void
nfs_iodfini(void)
{
- int error;
+ int error __diagused;
error = nfs_set_niothreads(0);
KASSERT(error == 0);