aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/http.c
diff options
context:
space:
mode:
authorStuart Reilly <rs576h@vyatta.att-mail.com>2019-07-12 16:41:39 +0100
committerStuart Reilly <rs576h@vyatta.att-mail.com>2019-07-12 16:41:39 +0100
commit92c769f206d407024cec677b838e67e64769249e (patch)
tree7db608368f85f72638498d709aa6a55bd2ce5145 /src/lib/protocols/http.c
parent343ee0c9b6f5421f5a7b2e17429bcd52c6fa6950 (diff)
Solve remaining warnings
Diffstat (limited to 'src/lib/protocols/http.c')
-rw-r--r--src/lib/protocols/http.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c
index 1f5b88c7a..51ec9ded8 100644
--- a/src/lib/protocols/http.c
+++ b/src/lib/protocols/http.c
@@ -123,7 +123,6 @@ static void check_content_type_and_change_protocol(struct ndpi_detection_module_
struct ndpi_flow_struct *flow) {
struct ndpi_packet_struct *packet = &flow->packet;
- u_int8_t a;
if((!ndpi_struct->http_dont_dissect_response) && flow->http_detected && (flow->http.response_status_code != 0)) {
ndpi_set_detected_protocol(ndpi_struct, flow, flow->http_upper_protocol, flow->http_lower_protocol);