forked from Mirrors/sngrep
src/sip_call.c: fixed unused var
This commit is contained in:
parent
5d7ce59ba3
commit
c98c865a83
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue