From 6103f18cd68dd18c2a958cf810ad091751d5329f Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 29 Jun 2013 12:38:59 +0200 Subject: [PATCH] aspell: fix uninitialized variable "lang" when displaying list of installed dictionaries --- src/plugins/aspell/weechat-aspell-command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/aspell/weechat-aspell-command.c b/src/plugins/aspell/weechat-aspell-command.c index ef35d9fa4..3d129792a 100644 --- a/src/plugins/aspell/weechat-aspell-command.c +++ b/src/plugins/aspell/weechat-aspell-command.c @@ -164,6 +164,7 @@ weechat_aspell_command_speller_list_dicts () while ((dict = aspell_dict_info_enumeration_next (elements)) != NULL) { + lang = NULL; country = NULL; pos = strchr (dict->code, '_');