log: removed warning buffer
The warning buffer is a complex piece of code for no good reason. Remove it and find a better solution, e.g. open the log file earlier.
This commit is contained in:
@@ -277,7 +277,6 @@ static void openDB(Options * options, char *argv0)
|
||||
"\"--no-create-db\" command line option\n"
|
||||
"try running \"%s --create-db\"\n", argv0);
|
||||
}
|
||||
flushWarningLog();
|
||||
if (db_check() < 0)
|
||||
exit(EXIT_FAILURE);
|
||||
db_init();
|
||||
|
||||
Reference in New Issue
Block a user