From 1c2788a055adf99688587240bdb0d9449f581fd9 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Wed, 12 Feb 2020 10:19:16 +0000 Subject: [PATCH] [core] scan-build: Value stored to 'time_sync' during its initialization is never read --- src/switch_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_time.c b/src/switch_time.c index 5b8f46d1f9..021ce18297 100644 --- a/src/switch_time.c +++ b/src/switch_time.c @@ -1043,7 +1043,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime) int fwd_errs = 0, rev_errs = 0; int profile_tick = 0; int tfd = -1; - uint32_t time_sync = runtime.time_sync; + uint32_t time_sync; #ifdef HAVE_TIMERFD_CREATE int last_MICROSECONDS_PER_TICK = runtime.microseconds_per_tick; -- 2.47.2