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
commit 2d186794b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;