This commit is contained in:
cathugger 2018-07-09 16:54:44 +00:00
parent be50d6b929
commit 83a63a30ee
3 changed files with 23 additions and 16 deletions

32
main.c
View file

@ -667,22 +667,6 @@ int main(int argc,char **argv)
exit(Q_FAILOPENOUTPUT); // define new err code?
}
filters_prepare();
filters_print();
#ifdef STATISTICS
if (!filters_count() && !reportdelay)
#else
if (!filters_count())
#endif
return 0;
#ifdef EXPANDMASK
if (numwords > 1 && flattened)
fprintf(stderr,"WARNING: -N switch will produce bogus results because we can't know filter width. reconfigure with --enable-besort and recompile.\n");
#endif
if (workdir)
createdir(workdir,1);
@ -720,6 +704,22 @@ int main(int argc,char **argv)
goto done;
}
filters_prepare();
filters_print();
#ifdef STATISTICS
if (!filters_count() && !reportdelay)
#else
if (!filters_count())
#endif
return 0;
#ifdef EXPANDMASK
if (numwords > 1 && flattened)
fprintf(stderr,"WARNING: -N switch will produce bogus results because we can't know filter width. reconfigure with --enable-besort and recompile.\n");
#endif
if (yamloutput)
yamlout_init();