mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
_mucwin_print_mention(): No need to assign pos
This commit is contained in:
parent
b2ec6ba4ce
commit
70683c07ab
@ -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)
|
_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 last_pos = 0;
|
||||||
int pos = 0;
|
int pos;
|
||||||
GSList *curr = mentions;
|
GSList *curr = mentions;
|
||||||
while (curr) {
|
while (curr) {
|
||||||
pos = GPOINTER_TO_INT(curr->data);
|
pos = GPOINTER_TO_INT(curr->data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user