mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
fix: Initialize variable in stanza_get_oldest_delay()
This commit is contained in:
parent
d169312a84
commit
8fba8a8958
@ -1277,7 +1277,7 @@ stanza_get_oldest_delay(xmpp_stanza_t *const stanza)
|
|||||||
{
|
{
|
||||||
xmpp_stanza_t *child;
|
xmpp_stanza_t *child;
|
||||||
const char *child_name;
|
const char *child_name;
|
||||||
GDateTime* oldest;
|
GDateTime* oldest = NULL;
|
||||||
|
|
||||||
for (child = xmpp_stanza_get_children(stanza); child; child = xmpp_stanza_get_next(child)) {
|
for (child = xmpp_stanza_get_children(stanza); child; child = xmpp_stanza_get_next(child)) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user