summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/settings.c2
-rw-r--r--src/core/special-vars.c4
-rw-r--r--src/irc/core/servers-redirect.c2
3 files changed, 4 insertions, 4 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;
diff --git a/src/irc/core/servers-redirect.c b/src/irc/core/servers-redirect.c
index 3c3c93a6..34beaef6 100644
--- a/src/irc/core/servers-redirect.c
+++ b/src/irc/core/servers-redirect.c
@@ -513,7 +513,7 @@ server_redirect_get(IRC_SERVER_REC *server, const char *prefix,
const char *event, const char *args,
REDIRECT_REC **redirect, int *match)
{
- const char *signal;
+ const char *signal = NULL;
GSList *ptr, *next;
REDIRECT_REC *r;