From c98c865a83c89adb1f2252b1f1c6f2489cbb5f17 Mon Sep 17 00:00:00 2001 From: Sergey Safarov Date: Wed, 23 Sep 2020 14:10:10 +0000 Subject: [PATCH] src/sip_call.c: fixed unused var --- src/sip_call.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sip_call.c b/src/sip_call.c index 515280b..bea879a 100644 --- a/src/sip_call.c +++ b/src/sip_call.c @@ -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;