diff options
author | James Booth <boothj5@gmail.com> | 2014-04-26 00:36:36 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-04-26 00:36:36 +0100 |
commit | d6e92f62dc907d5da66f477884a4c0c728b84127 (patch) | |
tree | e77d8ad400874baa5edd7dde9ce66b1847fd89e9 /src/ui/console.c | |
parent | ab4ea80a70803d8d6335d8f5a8a4248e6d5423a4 (diff) | |
download | profani-tty-d6e92f62dc907d5da66f477884a4c0c728b84127.tar.gz |
Fixed cppcheck warnings
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index d7bb1904..2aff43a5 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -643,7 +643,6 @@ static void _cons_show_bookmarks(const GList *list) { ProfWin *console = wins_get_console(); - Bookmark *item; if (list == NULL) { cons_show(""); @@ -654,7 +653,7 @@ _cons_show_bookmarks(const GList *list) /* TODO: show status (connected or not) and window number */ while (list != NULL) { - item = list->data; + Bookmark *item = list->data; win_print_time(console, '-'); wprintw(console->win, " %s", item->jid); |