]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
mood.c: Add missing initialization of mood_name.
authorAndre Noll <maan@systemlinux.org>
Tue, 23 Oct 2007 11:47:01 +0000 (13:47 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 23 Oct 2007 11:47:01 +0000 (13:47 +0200)
mood.c

diff --git a/mood.c b/mood.c
index 08c2c222e84f69bd794ea7c4598b83fe0051ac06..fd82ba4abb2b6419c3519fe3ec1ed29075912910 100644 (file)
--- a/mood.c
+++ b/mood.c
@@ -1007,7 +1007,7 @@ static void close_current_mood(void)
 int reload_current_mood(void)
 {
        int ret;
 int reload_current_mood(void)
 {
        int ret;
-       char *mood_name;
+       char *mood_name = NULL;
 
        PARA_NOTICE_LOG("reloading current mood\n");
        if (!current_mood)
 
        PARA_NOTICE_LOG("reloading current mood\n");
        if (!current_mood)