From cf905d0c7f531236697a9ca4784570b03375e160 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Mon, 23 May 2016 22:18:31 +0200 Subject: FTP: fix Value stored to 'packet' during its initialization is never read --- src/lib/protocols/ftp_data.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib/protocols/ftp_data.c') 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) { -- cgit v1.2.3