mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 18:23:13 +02:00
irc: fix uninitialized variable "color" when hashing nickname to find color
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user