1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

fix: Initialize variable in stanza_get_oldest_delay()

This commit is contained in:
Michael Vetter 2020-01-30 12:35:49 +01:00
parent d169312a84
commit 8fba8a8958

View File

@ -1277,7 +1277,7 @@ stanza_get_oldest_delay(xmpp_stanza_t *const stanza)
{
xmpp_stanza_t *child;
const char *child_name;
GDateTime* oldest;
GDateTime* oldest = NULL;
for (child = xmpp_stanza_get_children(stanza); child; child = xmpp_stanza_get_next(child)) {