src/sip_call.c: fixed unused var

This commit is contained in:
Sergey Safarov 2020-09-23 14:10:10 +00:00 committed by Kaian
parent 5d7ce59ba3
commit c98c865a83
1 changed files with 0 additions and 4 deletions

View File

@ -197,14 +197,10 @@ void
call_update_state(sip_call_t *call, sip_msg_t *msg)
{
int reqresp;
sip_msg_t *first;
if (!call_is_invite(call))
return;
// Get the first message in the call
first = vector_first(call->msgs);
// Get current message Method / Response Code
reqresp = msg->reqresp;