HTTP: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang Analyzer

This commit is contained in:
Alexis La Goutte
2016-11-12 16:00:10 +01:00
parent 4564b973df
commit c7eb8d1082
+1 -1
View File
@@ -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)) {