aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2016-06-23 23:53:03 +0200
committerLuca Deri <deri@ntop.org>2016-06-23 23:53:03 +0200
commitb318d191a51af7638b1e64924a214e91fa9aa09e (patch)
treeafd5144df0efb30c2fc8e96555301b1d7b302907 /src/lib
parentd0665bb301d58d13fb2d1ae1eff6a645a9dbddac (diff)
Removed variables not used
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ndpi_main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index cbac5cf8b..7a6a34fb3 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -3285,8 +3285,6 @@ ndpi_protocol ndpi_l4_detection_process_packet(struct ndpi_detection_module_stru
flow->packet.iphv6 ||
#endif
flow->packet.iph)) {
- u_int32_t saddr, daddr;
-
flow->protocol_id_already_guessed = 1;
flow->guessed_protocol_id = (int16_t)ndpi_guess_protocol_id(ndpi_struct, l4_proto, sport, dport);
@@ -4478,7 +4476,6 @@ static int ndpi_automa_match_string_subprotocol(struct ndpi_detection_module_str
u_int8_t is_host_match) {
int matching_protocol_id = ndpi_match_string_subprotocol(ndpi_struct, string_to_match, string_to_match_len, is_host_match);
struct ndpi_packet_struct *packet = &flow->packet;
- AC_TEXT_t ac_input_text;
#ifdef DEBUG
{