diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-10-21 16:19:35 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-10-21 16:19:35 +0200 |
commit | 2292f15633071d6b109b50aae35e10fe3469582a (patch) | |
tree | 9cbc591063751e81581b62ebae6d34bc9249df79 | |
parent | 40d9dcae87a7198b1dfcc5b8437728310c78ae70 (diff) | |
download | profani-tty-2292f15633071d6b109b50aae35e10fe3469582a.tar.gz |
Make sure date vars are initialized
-rw-r--r-- | src/ui/chatwin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index df3849c0..cdd17f8d 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -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; |