diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-07-22 14:16:10 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-07-22 14:16:10 +0200 |
commit | 137d128af27b5d37e7c5cd5f88d1cbcb9889e446 (patch) | |
tree | bfede26915f3c6f98cb2067c15d6d4b91a1d94f9 /src/ui | |
parent | e75cc411641b8eb24c28ef0ebb449542467ed622 (diff) | |
download | profani-tty-137d128af27b5d37e7c5cd5f88d1cbcb9889e446.tar.gz |
Remove unused assignments
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/rosterwin.c | 1 | ||||
-rw-r--r-- | src/ui/statusbar.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c index 89575e0d..d7734174 100644 --- a/src/ui/rosterwin.c +++ b/src/ui/rosterwin.c @@ -335,7 +335,6 @@ _rosterwin_unsubscribed_item(ProfLayoutSplit *layout, ProfChatWin *chatwin) g_string_append(msg, name); if ((g_strcmp0(unreadpos, "after") == 0) && unread > 0) { g_string_append_printf(msg, " (%d)", unread); - unread = 0; } prefs_free_string(unreadpos); diff --git a/src/ui/statusbar.c b/src/ui/statusbar.c index 9e1c9559..495b79ab 100644 --- a/src/ui/statusbar.c +++ b/src/ui/statusbar.c @@ -295,7 +295,7 @@ status_bar_draw(void) } } - pos = _status_bar_draw_extended_tabs(pos); + _status_bar_draw_extended_tabs(pos); wnoutrefresh(statusbar_win); inp_put_back(); |