From 8d45d703078c89bb89804dacb6706f0c563ac4c6 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 23 Oct 2007 13:47:01 +0200 Subject: [PATCH] mood.c: Add missing initialization of mood_name. --- mood.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2