diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-12-16 17:45:00 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-12-16 17:45:00 +0000 |
commit | aded13c23b29033769b54120973c097caf998bf5 (patch) | |
tree | 617f2298aec48e2071d9bc0dce2b625a18cff7dd /sbin/fsck_ffs | |
parent | 79e58277cbefd21ba134443f11fc384fe0a22d50 (diff) |
Eliminate some gcc warnings about 'unused variables', mostly by
adding appropriate #ifdef's around declarations.
ok millert@ (with a tweak I will commit separately)
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r-- | sbin/fsck_ffs/inode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c index da059ee1e91..39695b54625 100644 --- a/sbin/fsck_ffs/inode.c +++ b/sbin/fsck_ffs/inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inode.c,v 1.47 2015/12/10 17:26:59 mmcc Exp $ */ +/* $OpenBSD: inode.c,v 1.48 2016/12/16 17:44:59 krw Exp $ */ /* $NetBSD: inode.c,v 1.23 1996/10/11 20:15:47 thorpej Exp $ */ /* @@ -526,7 +526,9 @@ pinode(ino_t ino) { union dinode *dp; char *p; +#ifndef SMALL struct passwd *pw; +#endif time_t t; printf(" I=%llu ", (unsigned long long)ino); |