about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/xmpp/stanza.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/stanza.c b/src/xmpp/stanza.c
index 9c6aecb6..3a8d2b56 100644
--- a/src/xmpp/stanza.c
+++ b/src/xmpp/stanza.c
@@ -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)) {