authd: opm: avoid clang static analysis warning

Remove unused `c` variable.
This commit is contained in:
Simon Arlott 2017-07-29 22:31:04 +01:00
parent 07807ce8b0
commit 26acc0c4fd
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View 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);