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

Make sure date vars are initialized

This commit is contained in:
Michael Vetter 2019-10-21 16:19:35 +02:00
parent 40d9dcae87
commit 2292f15633

View File

@ -467,9 +467,9 @@ _chatwin_history(ProfChatWin *chatwin, const char *const contact)
GSList *history = chat_log_get_previous(jid->barejid, contact);
jid_destroy(jid);
GSList *curr = history;
int idd;
int imo;
int iyy;
int idd = 0;
int imo = 0;
int iyy = 0;
while (curr) {
char *line = curr->data;