From 45fe35d29a77a4d6ecdd943588e8f270c84590fe Mon Sep 17 00:00:00 2001 From: Sergey Safarov Date: Wed, 23 Sep 2020 13:42:02 +0000 Subject: [PATCH] src/sip.c: removed not used vairables --- src/sip.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/sip.c b/src/sip.c index d4cd670..92aa378 100644 --- a/src/sip.c +++ b/src/sip.c @@ -328,7 +328,6 @@ sip_check_packet(packet_t *packet) sip_msg_t *msg; sip_call_t *call; char callid[1024], xcallid[1024]; - address_t src, dst; u_char payload[MAX_SIP_PAYLOAD]; bool newcall = false; @@ -336,10 +335,6 @@ sip_check_packet(packet_t *packet) if (packet->payload_len > MAX_SIP_PAYLOAD) return NULL; - // Get Addresses from packet - src = packet->src; - dst = packet->dst; - // Initialize local variables memset(callid, 0, sizeof(callid)); memset(xcallid, 0, sizeof(xcallid));