From 41fcb7b1c182f364a335abc127910a399fdfb2b0 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Tue, 18 Aug 2015 11:02:29 +0200 Subject: Warning fix --- src/lib/protocols/eaq.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib/protocols') diff --git a/src/lib/protocols/eaq.c b/src/lib/protocols/eaq.c index 7dfc5f778..96ecacdde 100644 --- a/src/lib/protocols/eaq.c +++ b/src/lib/protocols/eaq.c @@ -39,8 +39,6 @@ static void ndpi_int_eaq_add_connection(struct ndpi_detection_module_struct *ndp void ndpi_search_eaq(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { struct ndpi_packet_struct *packet = &flow->packet; u_int16_t sport = ntohs(packet->udp->source), dport = ntohs(packet->udp->dest); - unsigned char *vers; - int ver_offs; if((packet->payload_packet_len != EAQ_DEFAULT_SIZE) || ((sport != EAQ_DEFAULT_PORT) && (dport != EAQ_DEFAULT_PORT))) { -- cgit v1.2.3