aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/ndpiReader.c1
-rw-r--r--src/lib/protocols/tinc.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 142c1d5d1..337110d32 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -1288,7 +1288,6 @@ static int getTopStats(struct top_stats **topStats, struct port_stats *stats, u_
struct top_stats *s;
struct port_stats *sp, *tmp;
struct info_pair inf;
- float pkt_burst;
u_int64_t total_ip_addrs = 0;
/* stats are ordered by packet number */
diff --git a/src/lib/protocols/tinc.c b/src/lib/protocols/tinc.c
index b25aff2e7..a69d18759 100644
--- a/src/lib/protocols/tinc.c
+++ b/src/lib/protocols/tinc.c
@@ -29,8 +29,6 @@ static void ndpi_check_tinc(struct ndpi_detection_module_struct *ndpi_struct, st
struct ndpi_packet_struct *packet = &flow->packet;
const u_int8_t *packet_payload = packet->payload;
u_int32_t payload_len = packet->payload_packet_len;
- struct ndpi_id_struct *src = flow->src;
- struct ndpi_id_struct *dst = flow->dst;
if(packet->udp != NULL) {
if(ndpi_struct->tinc_cache != NULL) {