mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
modules_deinit: Fix -Werror=declaration-after-statement
This commit is contained in:
parent
ade2f87fe5
commit
e450a7f8c1
@ -288,8 +288,8 @@ void modules_deinit(void)
|
|||||||
g_hash_table_foreach(stridlookup, (GHFunc) uniq_get_modules, &list);
|
g_hash_table_foreach(stridlookup, (GHFunc) uniq_get_modules, &list);
|
||||||
|
|
||||||
while (list != NULL) {
|
while (list != NULL) {
|
||||||
module_uniq_destroy(list->data);
|
|
||||||
void *tmp = list->data;
|
void *tmp = list->data;
|
||||||
|
module_uniq_destroy(list->data);
|
||||||
list = g_slist_remove(list, list->data);
|
list = g_slist_remove(list, list->data);
|
||||||
g_free(tmp);
|
g_free(tmp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user