Module Name: src Committed By: martin Date: Fri Oct 25 20:46:29 UTC 2013
Modified Files: src/sys/nfs: nfs_boot.c Log Message: Mark a potentially unused variable To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/nfs/nfs_boot.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_boot.c diff -u src/sys/nfs/nfs_boot.c:1.80 src/sys/nfs/nfs_boot.c:1.81 --- src/sys/nfs/nfs_boot.c:1.80 Mon Oct 4 23:48:22 2010 +++ src/sys/nfs/nfs_boot.c Fri Oct 25 20:46:29 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_boot.c,v 1.80 2010/10/04 23:48:22 cyber Exp $ */ +/* $NetBSD: nfs_boot.c,v 1.81 2013/10/25 20:46:29 martin Exp $ */ /*- * Copyright (c) 1995, 1997 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: nfs_boot.c,v 1.80 2010/10/04 23:48:22 cyber Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nfs_boot.c,v 1.81 2013/10/25 20:46:29 martin Exp $"); #ifdef _KERNEL_OPT #include "opt_nfs.h" @@ -112,7 +112,7 @@ nfs_boot_init(struct nfs_diskless *nd, s { struct ifnet *ifp; int error = 0; - int flags; + int flags __unused; /* Explicitly necessary or build fails * due to unused variable, otherwise.