Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ffs Mark a potentially unused (ifndef FFS_EI) variable



details:   https://anonhg.NetBSD.org/src/rev/46e1145767c7
branches:  trunk
changeset: 790694:46e1145767c7
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Oct 19 16:30:57 2013 +0000

description:
Mark a potentially unused (ifndef FFS_EI) variable

diffstat:

 sys/ufs/ffs/ffs_snapshot.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b9189487c630 -r 46e1145767c7 sys/ufs/ffs/ffs_snapshot.c
--- a/sys/ufs/ffs/ffs_snapshot.c        Sat Oct 19 16:23:17 2013 +0000
+++ b/sys/ufs/ffs/ffs_snapshot.c        Sat Oct 19 16:30:57 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_snapshot.c,v 1.129 2013/09/30 18:58:00 hannken Exp $       */
+/*     $NetBSD: ffs_snapshot.c,v 1.130 2013/10/19 16:30:57 martin Exp $        */
 
 /*
  * Copyright 2000 Marshall Kirk McKusick. All Rights Reserved.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_snapshot.c,v 1.129 2013/09/30 18:58:00 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_snapshot.c,v 1.130 2013/10/19 16:30:57 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -1727,7 +1727,7 @@
        struct inode *ip, *xp;
        struct snap_info *si;
        daddr_t snaplistsize, *snapblklist;
-       int i, error, ns, snaploc, loc;
+       int i, error, ns __unused, snaploc, loc;
 
        /*
         * No persistent snapshots on apple ufs file systems.



Home | Main Index | Thread Index | Old Index