]> jfr.im git - irc/charybdis-ircd/charybdis.git/commitdiff
authd: opm: avoid clang static analysis warning
authorSimon Arlott <sa.me.uk>
Sat, 29 Jul 2017 21:31:04 +0000 (22:31 +0100)
committerSimon Arlott <sa.me.uk>
Sat, 29 Jul 2017 21:39:52 +0000 (22:39 +0100)
Remove unused `c` variable.

authd/providers/opm.c

index 97575ff44b7f5a9bddad67305883877d98b7d9da..d6cd0b5424a0397e668be6048452ecd60155fd0d 100644 (file)
@@ -372,7 +372,6 @@ http_connect_connected(struct opm_scan *scan)
 {
        struct auth_client *auth = scan->auth;
        char sendbuf[128]; /* A bit bigger than we need but better safe than sorry */
-       char *c = sendbuf;
 
        /* Simple enough to build */
        snprintf(sendbuf, sizeof(sendbuf), "CONNECT %s:%hu HTTP/1.0\r\n\r\n", scan->listener->ip, scan->listener->port);