svn commit: r229911 - head/sbin/tunefs
Eitan Adler
eadler at FreeBSD.org
Tue Jan 10 02:58:53 UTC 2012
Author: eadler (ports committer)
Date: Tue Jan 10 02:58:52 2012
New Revision: 229911
URL: http://svn.freebsd.org/changeset/base/229911
Log:
Fix warning when compiling with gcc46:
error: variable 'Sflag' set but not used
Approved by: dim
MFC after: 3 days
Modified:
head/sbin/tunefs/tunefs.c
Modified: head/sbin/tunefs/tunefs.c
==============================================================================
--- head/sbin/tunefs/tunefs.c Tue Jan 10 02:58:44 2012 (r229910)
+++ head/sbin/tunefs/tunefs.c Tue Jan 10 02:58:52 2012 (r229911)
@@ -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':
More information about the svn-src-all
mailing list