From: Ashik Thomas (ashiktho) Date: Tue, 6 Aug 2024 09:38:32 +0000 (+0000) Subject: Pull request #4383: file: removing unused variable in FileFlows destructor X-Git-Tag: 3.3.3.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ecbdec901abd81a4c6974e0effc913c4f98c606;p=thirdparty%2Fsnort3.git Pull request #4383: file: removing unused variable in FileFlows destructor Merge in SNORT/snort3 from ~ASHIKTHO/snort3:CSCwj63921_tot_2 to master Squashed commit of the following: commit 57316a4dcf33c789cd0cf5161b1bba98bb3e0c5a Author: Ashik Thomas Date: Tue Jul 9 09:42:52 2024 +0530 file: remove unused variable in FileFlows destructor --- diff --git a/src/file_api/file_flows.cc b/src/file_api/file_flows.cc index ac867bf33..ccf4b6415 100644 --- a/src/file_api/file_flows.cc +++ b/src/file_api/file_flows.cc @@ -207,9 +207,6 @@ uint64_t FileFlows::get_new_file_instance() FileFlows::~FileFlows() { - FileCache* file_cache = FileService::get_file_cache(); - assert(file_cache); - delete(main_context); if (current_context_delete_pending) delete(current_context);