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_ext2fs | |
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_ext2fs')
-rw-r--r-- | sbin/fsck_ext2fs/inode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/fsck_ext2fs/inode.c b/sbin/fsck_ext2fs/inode.c index 1fa37e9a3cf..88338eed528 100644 --- a/sbin/fsck_ext2fs/inode.c +++ b/sbin/fsck_ext2fs/inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inode.c,v 1.26 2016/04/28 12:17:15 krw Exp $ */ +/* $OpenBSD: inode.c,v 1.27 2016/12/16 17:44:59 krw Exp $ */ /* $NetBSD: inode.c,v 1.8 2000/01/28 16:01:46 bouyer Exp $ */ /* @@ -560,7 +560,9 @@ pinode(ino_t ino) { struct ext2fs_dinode *dp; char *p; +#ifndef SMALL struct passwd *pw; +#endif time_t t; u_int32_t uid; |