From: Dragos Oancea Date: Wed, 12 Feb 2020 10:19:16 +0000 (+0000) Subject: [core] scan-build: Value stored to 'time_sync' during its initialization is never... X-Git-Tag: v1.10.3^2~191^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F338%2Fhead;p=thirdparty%2Ffreeswitch.git [core] scan-build: Value stored to 'time_sync' during its initialization is never read --- 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;