aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/ftp_data.c
diff options
context:
space:
mode:
authorMichele Campus <fci1908@gmail.com>2016-05-24 22:04:33 +0200
committerMichele Campus <fci1908@gmail.com>2016-05-24 22:04:33 +0200
commita0fe6665b24f6a7987d5cb6aed44e1ef461b8be1 (patch)
tree4a813c58f1f47ece6fed47a7bdb0c8e1ec20b0ad /src/lib/protocols/ftp_data.c
parentb05907f592e59d30461817269ded7f2141e7207a (diff)
parentbae6a09a7c200d216cdfea526fb9460cc070dbd6 (diff)
Merge pull request #203 from alagoutte/scan-build
fix warning found by Clang Analyzer (scan-build)
Diffstat (limited to 'src/lib/protocols/ftp_data.c')
-rw-r--r--src/lib/protocols/ftp_data.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/protocols/ftp_data.c b/src/lib/protocols/ftp_data.c
index 32774899c..7daf9190d 100644
--- a/src/lib/protocols/ftp_data.c
+++ b/src/lib/protocols/ftp_data.c
@@ -230,7 +230,6 @@ static void ndpi_check_ftp_data(struct ndpi_detection_module_struct *ndpi_struct
}
void ndpi_search_ftp_data(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) {
- struct ndpi_packet_struct *packet = &flow->packet;
/* Break after 20 packets. */
if(flow->packet_counter > 20) {