diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2011-10-10 11:40:43 +0300 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-10-14 12:20:02 +0300 |
commit | f238f2e01a7febc5f083e77fdf496171c9b5cc8b (patch) | |
tree | 4e6133a83aaabdb2fdcfe71dd671ddb7a88960ae /tests | |
parent | 69912a6ae602914a6dc0d9c7c9c60fb0ed500dc6 (diff) |
tests: checkfs: remove unused code
There are two variables which are not used anymore. Thos patch removes useless
lines and suppresses gcc warnings.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/checkfs/checkfs.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/checkfs/checkfs.c b/tests/checkfs/checkfs.c index 0e67626..3e4a6e2 100644 --- a/tests/checkfs/checkfs.c +++ b/tests/checkfs/checkfs.c @@ -566,22 +566,16 @@ int main(int argc, char **argv){ char filename[30]; short filenameCounter = 0; unsigned short counter; - unsigned short numberFiles; - char error = FALSE; short errorCnt = 0; time_t timep; char * time_string; unsigned int seed; - - numberFiles = MAX_NUM_FILES; - if(argc >= 1) { processCmdLine(argc, argv); } - /* First open MAX_NUM_FILES and make sure that the checksum is ok. Also make an intry into the logfile. @@ -629,7 +623,6 @@ int main(int argc, char **argv){ fclose(logfp); (void)sync(); - error = TRUE; errorCnt++; if(errorCnt > MaxErrAllowed){ |