From 7fb4b4209242813f3b3bddbbeefe4a8966a3f35c Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Mon, 23 May 2016 22:30:47 +0200 Subject: bittorrent: fix Value stored to 'a' is never read --- src/lib/protocols/bittorrent.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib/protocols/bittorrent.c') diff --git a/src/lib/protocols/bittorrent.c b/src/lib/protocols/bittorrent.c index 8213d3b45..6ac9ec69a 100644 --- a/src/lib/protocols/bittorrent.c +++ b/src/lib/protocols/bittorrent.c @@ -135,7 +135,6 @@ static u_int8_t ndpi_int_search_bittorrent_tcp_zero(struct ndpi_detection_module || memcmp(packet->payload, "POST ", 5) == 0)) { const u_int8_t *ptr = &packet->payload[4]; u_int16_t len = packet->payload_packet_len - 4; - a = 0; /* parse complete get packet here into line structure elements */ -- cgit v1.2.3