diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-11-12 16:00:02 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-11-12 16:00:10 +0100 |
commit | c7eb8d1082b5c7494a373b6b48403e3ae6c4cce3 (patch) | |
tree | 7bea5641abac8c504c1de79fb97a5d560c7d8147 | |
parent | 4564b973df4fd6bbc90782ee98f80e459416b244 (diff) |
HTTP: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang Analyzer
-rw-r--r-- | src/lib/protocols/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index 11ea138db..4e4d01ca2 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -164,7 +164,7 @@ static void setHttpUserAgent(struct ndpi_flow_struct *flow, char *ua) { static void parseHttpSubprotocol(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { // int i = 0; - struct ndpi_packet_struct *packet = &flow->packet; + //struct ndpi_packet_struct *packet = &flow->packet; if((flow->l4.tcp.http_stage == 0) || (flow->http.url && flow->http_detected)) { |