From daf6adc0b098fdae473e8276cab88ebec6a3ae09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Sun, 4 Apr 2010 12:19:54 +0000 Subject: Remove warnings about uninitialized variables. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5140 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/settings.c') diff --git a/src/core/settings.c b/src/core/settings.c index bfcead3e..9f527ebe 100644 --- a/src/core/settings.c +++ b/src/core/settings.c @@ -150,7 +150,7 @@ int settings_get_size(const char *key) char *settings_get_print(SETTINGS_REC *rec) { - char *value; + char *value = NULL; switch(rec->type) { case SETTING_TYPE_BOOLEAN: -- cgit v1.2.3