From 70683c07abe2d88d73ba0b045c515cd85b9009cb Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 20 Apr 2020 16:02:19 +0200 Subject: [PATCH] _mucwin_print_mention(): No need to assign pos --- src/ui/mucwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);