diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-04-20 16:02:19 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-04-20 16:02:19 +0200 |
commit | 70683c07abe2d88d73ba0b045c515cd85b9009cb (patch) | |
tree | feaaf9e4dca528d198c23db2786212c703fe78c2 | |
parent | b2ec6ba4ce6f4ecb5bef3e810f989cbc6c0fadec (diff) | |
download | profani-tty-70683c07abe2d88d73ba0b045c515cd85b9009cb.tar.gz |
_mucwin_print_mention(): No need to assign pos
-rw-r--r-- | src/ui/mucwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index 7674d636..cc921b21 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -393,7 +393,7 @@ static void _mucwin_print_mention(ProfWin *window, const char *const message, const char *const from, const char *const mynick, GSList *mentions, const char *const ch, int flags) { int last_pos = 0; - int pos = 0; + int pos; GSList *curr = mentions; while (curr) { pos = GPOINTER_TO_INT(curr->data); |