From: Victor Julien Date: Wed, 11 Dec 2013 09:35:41 +0000 (+0100) Subject: detect-ssl: suppress harmless scan-build warning X-Git-Tag: suricata-2.0beta2~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f094ca136be61af458c43d7e46ffaac19f30ef3;p=thirdparty%2Fsuricata.git detect-ssl: suppress harmless scan-build warning detect-ssl-version.c:271:17: warning: Value stored to 'neg' is never read neg = 0; --- diff --git a/src/detect-ssl-version.c b/src/detect-ssl-version.c index 71d3c8346d..1711a5cb25 100644 --- a/src/detect-ssl-version.c +++ b/src/detect-ssl-version.c @@ -268,7 +268,6 @@ DetectSslVersionData *DetectSslVersionParse(char *str) break; } else { SCLogError(SC_ERR_INVALID_VALUE, "Invalid value"); - neg = 0; SCFree(orig); goto error; }