iq: remove variable reinitialization

master
Michael Santos 7 months ago
parent 027b7fe957
commit 18ddc176c7

@ -1,4 +1,4 @@
/* Copyright (c) 2019, Michael Santos <michael.santos@gmail.com>
/* Copyright (c) 2019-2023, Michael Santos <michael.santos@gmail.com>
*
* 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;

Loading…
Cancel
Save