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 unused (in the !FFS_EI case) variables as s...



details:   https://anonhg.NetBSD.org/src/rev/fd2694e7dd0d
branches:  trunk
changeset: 790717:fd2694e7dd0d
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Oct 19 19:28:13 2013 +0000

description:
Mark unused (in the !FFS_EI case) variables as such.

diffstat:

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

diffs (36 lines):

diff -r 04e075dd30d8 -r fd2694e7dd0d sys/ufs/ffs/ffs_snapshot.c
--- a/sys/ufs/ffs/ffs_snapshot.c        Sat Oct 19 19:22:16 2013 +0000
+++ b/sys/ufs/ffs/ffs_snapshot.c        Sat Oct 19 19:28:13 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_snapshot.c,v 1.130 2013/10/19 16:30:57 martin Exp $        */
+/*     $NetBSD: ffs_snapshot.c,v 1.131 2013/10/19 19:28:13 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.130 2013/10/19 16:30:57 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_snapshot.c,v 1.131 2013/10/19 19:28:13 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -958,7 +958,7 @@
        struct fs *fs;
        struct lwp *l = curlwp;
        daddr_t base, numblks;
-       int error, len, loc, ns, indiroff;
+       int error, len, loc, ns __unused, indiroff;
 
        ip = VTOI(vp);
        fs = ip->i_fs;
@@ -1035,7 +1035,7 @@
 expunge(struct vnode *snapvp, struct inode *cancelip, struct fs *fs,
     acctfunc_t acctfunc, int expungetype)
 {
-       int i, error, ns;
+       int i, error, ns __unused;
        daddr_t lbn, rlbn;
        daddr_t len, blkno, numblks, blksperindir;
        struct ufs1_dinode *dip1;



Home | Main Index | Thread Index | Old Index