aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-05 18:37:40 +0100
committerMax Kellermann <max@duempel.org>2008-11-05 18:37:40 +0100
commit08aaf57ff094632354cc54fcea90bd14a4edb76f (patch)
treec1fa9f2b1606a3ca6431eb7c564d2312599fcfdb /src/main.c
parentb35ca9e5c4d45eceba1baf355dea3349cadb73b4 (diff)
downloadmpd-08aaf57ff094632354cc54fcea90bd14a4edb76f.tar.gz
mpd-08aaf57ff094632354cc54fcea90bd14a4edb76f.tar.xz
mpd-08aaf57ff094632354cc54fcea90bd14a4edb76f.zip
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.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 365d1780c..33c1125b7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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();