diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/settings.c | 2 | ||||
-rw-r--r-- | src/core/special-vars.c | 4 |
2 files changed, 3 insertions, 3 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: diff --git a/src/core/special-vars.c b/src/core/special-vars.c index 33e9fce7..4dcc3d2f 100644 --- a/src/core/special-vars.c +++ b/src/core/special-vars.c @@ -352,8 +352,8 @@ char *parse_special(char **cmd, SERVER_REC *server, void *item, static char **nested_orig_cmd = NULL; /* FIXME: KLUDGE! */ char command, *value; - char align_pad; - int align, align_flags; + char align_pad = '\0'; + int align = 0, align_flags = 0; char *nest_value; int brackets, nest_free; |