From 18ddc176c79e37e0fdd687fa868f4f04879a2bd6 Mon Sep 17 00:00:00 2001 From: Michael Santos Date: Sun, 29 Oct 2023 07:57:47 -0400 Subject: [PATCH] iq: remove variable reinitialization --- src/iq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/iq.c b/src/iq.c index 68aa9f8..28b7925 100644 --- a/src/iq.c +++ b/src/iq.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2019, Michael Santos +/* Copyright (c) 2019-2023, Michael Santos * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -20,8 +20,8 @@ int handle_iq(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza, xmpp_stanza_t *slot; xmpp_stanza_t *item; - const char *from = NULL; - const char *to = NULL; + const char *from; + const char *to; const char *get = NULL; const char *put = NULL;