summaryrefslogtreecommitdiff
path: root/src/core/settings.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@irssi.org>2010-04-04 12:19:54 +0000
committerahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564>2010-04-04 12:19:54 +0000
commitdaf6adc0b098fdae473e8276cab88ebec6a3ae09 (patch)
treeb58e5480580687bb9b1ce01c8e8de552589c576e /src/core/settings.c
parentada26a8d21d1c57e17b6dcc6293ca1ba3a852f8c (diff)
downloadirssi-daf6adc0b098fdae473e8276cab88ebec6a3ae09.zip
Remove warnings about uninitialized variables.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5140 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/settings.c')
-rw-r--r--src/core/settings.c2
1 files changed, 1 insertions, 1 deletions
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: