From: Andre Noll Date: Tue, 23 Oct 2007 11:47:01 +0000 (+0200) Subject: mood.c: Add missing initialization of mood_name. X-Git-Tag: v0.3.0~254 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=8d45d703078c89bb89804dacb6706f0c563ac4c6 mood.c: Add missing initialization of mood_name. --- diff --git a/mood.c b/mood.c index 08c2c222..fd82ba4a 100644 --- a/mood.c +++ b/mood.c @@ -1007,7 +1007,7 @@ static void close_current_mood(void) int reload_current_mood(void) { int ret; - char *mood_name; + char *mood_name = NULL; PARA_NOTICE_LOG("reloading current mood\n"); if (!current_mood)