From: Egor Date: Tue, 21 Jan 2025 03:39:33 +0000 (+0200) Subject: irc.c: fix goto crossing initialization of res X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=6c68472f10828815e6779005df5d55f5b73fdcf0;p=patchyircd.git irc.c: fix goto crossing initialization of res --- diff --git a/src/irc.c b/src/irc.c index 7609d8a..de6a298 100644 --- a/src/irc.c +++ b/src/irc.c @@ -410,7 +410,8 @@ int processPacket(struct client_data *client, char *source, char *command, int a } client->saslbuf[client->saslbufLen] = '\0'; const char *username; - int res = -1; + int res; + res = -1; if (!client->saslexternal) { username = strchr(client->saslbuf, '\0')+1; if (username > client->saslbuf + client->saslbufLen)