[core] scan-build: Value stored to 'time_sync' during its initialization is never read

This commit is contained in:
Dragos Oancea 2020-02-12 10:19:16 +00:00
parent 1b66e76548
commit 1c2788a055
1 changed files with 1 additions and 1 deletions

View File

@ -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;