From 1149e63462f3e18ec87299c9037fad31a6229eca Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Wed, 12 Feb 2020 00:59:04 +0000 Subject: [PATCH] [sofia-sip] scan-build: Value stored to 'now' during its initialization is never read - _nta_incoming_timer() --- libs/sofia-sip/libsofia-sip-ua/nta/nta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sofia-sip/libsofia-sip-ua/nta/nta.c b/libs/sofia-sip/libsofia-sip-ua/nta/nta.c index 71d376fc08..e3055c8329 100644 --- a/libs/sofia-sip/libsofia-sip-ua/nta/nta.c +++ b/libs/sofia-sip/libsofia-sip-ua/nta/nta.c @@ -6967,7 +6967,7 @@ enum { static void _nta_incoming_timer(nta_agent_t *sa) { - uint32_t now = su_time_ms(su_now()); + uint32_t now; nta_incoming_t *irq, *irq_next; size_t retransmitted = 0, timeout = 0, terminated = 0, destroyed = 0; size_t unconfirmed =