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:
parent
40d9dcae87
commit
2292f15633
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user