aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-11-13 17:31:05 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-11-13 18:22:03 +0100
commit1082a234fe86e604f3a1cd7cbdb36f9cbfe1e107 (patch)
tree3d45f1b824aa2ddda1cd68493f8d99c49765df6f /src
parent141bb48d76af38e841765f4a20563ed5065e59e4 (diff)
bittorrent: fix unused variable 'no_bittorrent' [-Wunused-variable]
Diffstat (limited to 'src')
-rw-r--r--src/lib/protocols/bittorrent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/protocols/bittorrent.c b/src/lib/protocols/bittorrent.c
index 0eebe07ee..084f80be7 100644
--- a/src/lib/protocols/bittorrent.c
+++ b/src/lib/protocols/bittorrent.c
@@ -385,7 +385,6 @@ static void ndpi_int_search_bittorrent_tcp(struct ndpi_detection_module_struct *
void ndpi_search_bittorrent(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow)
{
struct ndpi_packet_struct *packet = &flow->packet;
- int no_bittorrent = 0;
char *bt_proto = NULL;
/* This is broadcast */