aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-01-10 02:58:52 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-01-10 02:58:52 +0000
commit14f6494f6122685eb00c474a6fa384e64a1457db (patch)
tree1c393505cef0b4c94fefe7368c117079dcd41406
parentc9515560358431ea4c061fbaebfd680e9dd2df10 (diff)
Fix warning when compiling with gcc46:
error: variable 'Sflag' set but not used Approved by: dim MFC after: 3 days
Notes
Notes: svn path=/head/; revision=229911
-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 11ffbe6fc6c0..de3db1261779 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':