mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 10:16:20 +00:00
fix: Initialize variable in stanza_get_oldest_delay()
This commit is contained in:
@@ -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)) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user