diff options
author | Michele Campus <fci1908@gmail.com> | 2016-05-24 22:04:33 +0200 |
---|---|---|
committer | Michele Campus <fci1908@gmail.com> | 2016-05-24 22:04:33 +0200 |
commit | a0fe6665b24f6a7987d5cb6aed44e1ef461b8be1 (patch) | |
tree | 4a813c58f1f47ece6fed47a7bdb0c8e1ec20b0ad /src/lib/protocols/bittorrent.c | |
parent | b05907f592e59d30461817269ded7f2141e7207a (diff) | |
parent | bae6a09a7c200d216cdfea526fb9460cc070dbd6 (diff) |
Merge pull request #203 from alagoutte/scan-build
fix warning found by Clang Analyzer (scan-build)
Diffstat (limited to 'src/lib/protocols/bittorrent.c')
-rw-r--r-- | src/lib/protocols/bittorrent.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 */ |