]> git.sesse.net Git - cubemap/commitdiff
Fix a spurious warning.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 13 Apr 2013 17:06:48 +0000 (19:06 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 13 Apr 2013 17:06:48 +0000 (19:06 +0200)
main.cpp

index 67c731dbb2c657ef1f586b1e10a6ead60b93d4c5..6c8051a351c471fac56d1e46cc695387ed8c382b 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -329,8 +329,6 @@ start:
        if (!config.stats_file.empty()) {
                stats_thread = new StatsThread(config.stats_file, config.stats_interval);
                stats_thread->run();
-       } else if (config.stats_interval != -1) {
-               fprintf(stderr, "WARNING: 'stats_interval' given, but no 'stats_file'. No statistics will be written.\n");
        }
 
        signal(SIGHUP, hup);