Merge pull request #338 from dragos-oancea/switch_time-val-never-read

[core] scan-build: Value stored to 'time_sync' during its initialization is never read
This commit is contained in:
Andrey Volk
2020-02-12 22:51:45 +04:00
committed by GitHub
+1 -1
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;