1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Remove dead assignments

This commit is contained in:
Michael Vetter 2019-07-22 14:27:14 +02:00
parent 137d128af2
commit e540ccd50e
2 changed files with 2 additions and 2 deletions

View File

@ -389,7 +389,7 @@ omemo_start_sessions(void)
{
GSList *contacts = roster_get_contacts(ROSTER_ORD_NAME);
if (contacts) {
GSList *curr = contacts;
GSList *curr;
for (curr = contacts; curr != NULL; curr = g_slist_next(curr)){
PContact contact = curr->data;
const char *jid = p_contact_barejid(contact);

View File

@ -1557,7 +1557,7 @@ _win_print_wrapped(WINDOW *win, const char *const message, size_t indent, int pa
wordlen = utf8_display_len(word);
int curx = getcurx(win);
int cury = getcury(win);
int cury;
int maxx = getmaxx(win);
// wrap required