From 27a427c708b657d97b5db757d389089ec52556b7 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 29 Jun 2013 12:39:42 +0200 Subject: [PATCH] irc: fix uninitialized variable "color" when hashing nickname to find color --- src/plugins/irc/irc-nick.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/irc/irc-nick.c b/src/plugins/irc/irc-nick.c index 3e5139bcc..d6adf1c8d 100644 --- a/src/plugins/irc/irc-nick.c +++ b/src/plugins/irc/irc-nick.c @@ -154,6 +154,7 @@ irc_nick_hash_color (const char *nickname) return 0; ptr_nick = nickname; + color = 0; switch (weechat_config_integer (irc_config_look_nick_color_hash)) {