src/sip.c: removed not used vairables

This commit is contained in:
Sergey Safarov 2020-09-23 13:42:02 +00:00 committed by Kaian
parent 4b932edb56
commit 45fe35d29a
1 changed files with 0 additions and 5 deletions

View File

@ -328,7 +328,6 @@ sip_check_packet(packet_t *packet)
sip_msg_t *msg; sip_msg_t *msg;
sip_call_t *call; sip_call_t *call;
char callid[1024], xcallid[1024]; char callid[1024], xcallid[1024];
address_t src, dst;
u_char payload[MAX_SIP_PAYLOAD]; u_char payload[MAX_SIP_PAYLOAD];
bool newcall = false; bool newcall = false;
@ -336,10 +335,6 @@ sip_check_packet(packet_t *packet)
if (packet->payload_len > MAX_SIP_PAYLOAD) if (packet->payload_len > MAX_SIP_PAYLOAD)
return NULL; return NULL;
// Get Addresses from packet
src = packet->src;
dst = packet->dst;
// Initialize local variables // Initialize local variables
memset(callid, 0, sizeof(callid)); memset(callid, 0, sizeof(callid));
memset(xcallid, 0, sizeof(xcallid)); memset(xcallid, 0, sizeof(xcallid));