eliminate unused var

This commit is contained in:
cathugger 2017-09-30 06:46:17 +03:00
parent c55c0a269a
commit 0102f9ff39

10
main.c
View File

@ -548,8 +548,8 @@ int main(int argc,char **argv)
struct statsvec stats; struct statsvec stats;
struct tstatsvec tstats; struct tstatsvec tstats;
u64 reportdelay = 0; u64 reportdelay = 0;
#endif
int realtimestats = 0; int realtimestats = 0;
#endif
int tret; int tret;
filters_init(); filters_init();
@ -662,8 +662,14 @@ int main(int argc,char **argv)
exit(1); exit(1);
#endif #endif
} }
else if (*arg == 'R') else if (*arg == 'R') {
#ifdef STATISTICS
realtimestats = 1; realtimestats = 1;
#else
fprintf(stderr,"statistics support not compiled in\n");
exit(1);
#endif
}
else { else {
fprintf(stderr, "unrecognised argument: -%c\n", *arg); fprintf(stderr, "unrecognised argument: -%c\n", *arg);
exit(1); exit(1);