diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-05-23 22:18:31 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-05-23 22:19:05 +0200 |
commit | cf905d0c7f531236697a9ca4784570b03375e160 (patch) | |
tree | 756295a1c1c095adebfc6aac794e7d1781757682 /src | |
parent | f084bbb6d0617311f34e82adae658be132fd0f66 (diff) |
FTP: fix Value stored to 'packet' during its initialization is never read
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/ftp_data.c | 1 |
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) { |