1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

_mucwin_print_mention(): No need to assign pos

This commit is contained in:
Michael Vetter 2020-04-20 16:02:19 +02:00
parent b2ec6ba4ce
commit 70683c07ab

View File

@ -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);