1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 18:53:12 +02:00

Remove some compiler warnings

This commit is contained in:
Sebastien Helleu
2009-01-07 14:27:29 +01:00
parent d3a62a9434
commit 9dd2c1b616
3 changed files with 14 additions and 12 deletions
+2 -4
View File
@@ -2180,7 +2180,7 @@ config_file_option_free (struct t_config_option *option)
if (!option)
return;
ptr_section = option->section;
/* remove option from section */
@@ -2197,15 +2197,13 @@ config_file_option_free (struct t_config_option *option)
new_options = option->next_option;
if (option->next_option)
(option->next_option)->prev_option = option->prev_option;
ptr_section->options = new_options;
}
/* free data */
config_file_option_free_data (option);
free (option);
if (ptr_section)
ptr_section->options = new_options;
}
/*