Removed unused variable

This commit is contained in:
Luca 2019-09-10 15:56:13 +02:00
parent 9fe404772d
commit 46a3ef5002
2 changed files with 1 additions and 3 deletions

View file

@ -85,7 +85,6 @@ class Flow : public GenericHashEntry {
void *cli_id, *srv_id;
json_object *json_info;
char *host_server_name, *bt_hash;
char *community_id_flow_hash;
#ifdef HAVE_NEDGE
u_int32_t last_conntrack_update;
u_int32_t marker;

View file

@ -65,7 +65,7 @@ Flow::Flow(NetworkInterface *_iface,
json_info = NULL, cli2srv_direction = true, twh_over = twh_ok = false,
dissect_next_http_packet = false,
check_tor = false, host_server_name = NULL, diff_num_http_requests = 0,
bt_hash = NULL, community_id_flow_hash = NULL;
bt_hash = NULL;
lua_detection_notified = false;
src2dst_tcp_flags = 0, dst2src_tcp_flags = 0, last_update_time.tv_sec = 0, last_update_time.tv_usec = 0,
@ -268,7 +268,6 @@ Flow::~Flow() {
}
if(bt_hash) free(bt_hash);
if(community_id_flow_hash) free(community_id_flow_hash);
freeDPIMemory();
if(icmp_info) delete(icmp_info);