mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
more warning fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@863 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5f2f6886c8
commit
4e0166a44d
5 changed files with 7 additions and 13 deletions
|
|
@ -861,12 +861,10 @@ static void cmd_save(void)
|
|||
|
||||
static void complete_format_list(THEME_SEARCH_REC *rec, const char *key, GList **list)
|
||||
{
|
||||
MODULE_THEME_REC *theme;
|
||||
FORMAT_REC *formats;
|
||||
int n, len;
|
||||
|
||||
formats = g_hash_table_lookup(default_formats, rec->name);
|
||||
theme = g_hash_table_lookup(current_theme->modules, rec->name);
|
||||
|
||||
len = strlen(key);
|
||||
for (n = 1; formats[n].def != NULL; n++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue