2
0
Fork 0

fixed fd initialization warning with -O2 in log.c

personal/stbuehler/wip
Thomas Porzelt 2008-08-12 19:34:11 +02:00
parent ef9b96e552
commit 1798e226ff
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ void log_unref(server *srv, log_t *log) {
log_t *log_new(server *srv, log_type_t type, GString *path) {
log_t *log;
gint fd;
gint fd = -1;
g_mutex_lock(srv->log_mutex);
log = g_hash_table_lookup(srv->logs, path->str);