summaryrefslogtreecommitdiffstats
path: root/sbin/tunefs
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-01-10 02:58:52 +0000
committereadler <eadler@FreeBSD.org>2012-01-10 02:58:52 +0000
commit9579af1f4029669e27ddad76a215656fdbdec9b0 (patch)
tree1c393505cef0b4c94fefe7368c117079dcd41406 /sbin/tunefs
parent9cf727d8f79f67dfa30a1ae05161607bf6ab7151 (diff)
downloadFreeBSD-src-9579af1f4029669e27ddad76a215656fdbdec9b0.zip
FreeBSD-src-9579af1f4029669e27ddad76a215656fdbdec9b0.tar.gz
Fix warning when compiling with gcc46:
error: variable 'Sflag' set but not used Approved by: dim MFC after: 3 days
Diffstat (limited to 'sbin/tunefs')
-rw-r--r--sbin/tunefs/tunefs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c
index 11ffbe6..de3db12 100644
--- a/sbin/tunefs/tunefs.c
+++ b/sbin/tunefs/tunefs.c
@@ -90,7 +90,7 @@ main(int argc, char *argv[])
int Aflag, aflag, eflag, evalue, fflag, fvalue, jflag, Jflag, Lflag;
int lflag, mflag, mvalue, Nflag, nflag, oflag, ovalue, pflag, sflag;
int tflag;
- int svalue, Sflag, Svalue;
+ int svalue, Svalue;
int ch, found_arg, i;
const char *chg[2];
struct ufs_args args;
@@ -269,7 +269,6 @@ main(int argc, char *argv[])
if (Svalue < SUJ_MIN)
errx(10, "%s must be >= %d (was %s)",
name, SUJ_MIN, optarg);
- Sflag = 1;
break;
case 't':
OpenPOWER on IntegriCloud