aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/iq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c
index 1faa5b7f..f09deead 100644
--- a/src/xmpp/iq.c
+++ b/src/xmpp/iq.c
@@ -1651,8 +1651,8 @@ _version_get_handler(xmpp_stanza_t* const stanza)
xmpp_stanza_add_child(name, name_txt);
xmpp_stanza_add_child(query, name);
bool include_os = prefs_get_boolean(PREF_REVEAL_OS) && !is_custom_client;
- xmpp_stanza_t* os;
- xmpp_stanza_t* os_txt;
+ xmpp_stanza_t* os = NULL;
+ xmpp_stanza_t* os_txt = NULL;
xmpp_stanza_t* version = xmpp_stanza_new(ctx);
xmpp_stanza_set_name(version, "version");
xmpp_stanza_t* version_txt = xmpp_stanza_new(ctx);