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

[core] scan-build: Value stored to 'time_sync' is never read - softtimer_runtime()
This commit is contained in:
Andrey Volk 2020-02-14 00:13:18 +04:00 committed by GitHub
commit 21e0bb2394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -1079,7 +1079,6 @@ SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime)
}
switch_time_sync();
time_sync = runtime.time_sync;
globals.STARTED = globals.RUNNING = 1;
switch_mutex_lock(runtime.throttle_mutex);