aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2024-10-08 08:44:49 +0200
committerLuca Deri <deri@ntop.org>2024-10-08 08:44:49 +0200
commitf488a2840721853b0a97992f2399c25b38f11211 (patch)
treedbd7bf50e12e12d271bbc4edcb16ad2e3f20c8bb /src
parentb2ae7fc5976fe0a8e3a9e51c0e8a8ecd52b31e1a (diff)
Removed unused variable
Diffstat (limited to 'src')
-rw-r--r--src/lib/ndpi_cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/ndpi_cache.c b/src/lib/ndpi_cache.c
index a262783bb..f375c019d 100644
--- a/src/lib/ndpi_cache.c
+++ b/src/lib/ndpi_cache.c
@@ -339,7 +339,6 @@ bool ndpi_address_cache_insert(struct ndpi_address_cache *cache,
u_int32_t epoch_now,
u_int32_t ttl) {
u_int32_t hash_id = ndpi_quick_hash((const unsigned char *)&ip_addr, sizeof(ip_addr)) % cache->num_root_nodes;
- struct ndpi_address_cache addr;
struct ndpi_address_cache_item *ret;
u_int32_t epoch_valid_until;