summaryrefslogtreecommitdiff
path: root/src/core/settings.c
diff options
context:
space:
mode:
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: