From 46a3ef5002f1bfb0b9fe0e277d92a0876e3db9fd Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 10 Sep 2019 15:56:13 +0200 Subject: [PATCH] Removed unused variable --- include/Flow.h | 1 - src/Flow.cpp | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/Flow.h b/include/Flow.h index c8db0fa0e0..6a3aa67201 100644 --- a/include/Flow.h +++ b/include/Flow.h @@ -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; diff --git a/src/Flow.cpp b/src/Flow.cpp index 19b140b7dc..b011905937 100644 --- a/src/Flow.cpp +++ b/src/Flow.cpp @@ -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);