From 26acc0c4fdd234e269b4c90b5e8f56fd82576b0f Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sat, 29 Jul 2017 22:31:04 +0100 Subject: [PATCH] authd: opm: avoid clang static analysis warning Remove unused `c` variable. --- authd/providers/opm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/authd/providers/opm.c b/authd/providers/opm.c index 97575ff4..d6cd0b54 100644 --- a/authd/providers/opm.c +++ b/authd/providers/opm.c @@ -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);