Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/nfs Mark a potentially unused variable



details:   https://anonhg.NetBSD.org/src/rev/9973dc6878de
branches:  trunk
changeset: 790884:9973dc6878de
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 25 20:46:29 2013 +0000

description:
Mark a potentially unused variable

diffstat:

 sys/nfs/nfs_boot.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b0fac0692260 -r 9973dc6878de sys/nfs/nfs_boot.c
--- a/sys/nfs/nfs_boot.c        Fri Oct 25 20:45:35 2013 +0000
+++ b/sys/nfs/nfs_boot.c        Fri Oct 25 20:46:29 2013 +0000
@@ -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 @@
 {
        struct ifnet *ifp;
        int error = 0;
-       int flags;
+       int flags __unused;
 
        /* Explicitly necessary or build fails
         * due to unused variable, otherwise.



Home | Main Index | Thread Index | Old Index