]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Value stored to 'time_sync' is never read - softtimer_runtime() 345/head
authorDragos Oancea <dragos@signalwire.com>
Wed, 12 Feb 2020 21:44:50 +0000 (21:44 +0000)
committerDragos Oancea <dragos@signalwire.com>
Wed, 12 Feb 2020 21:44:50 +0000 (21:44 +0000)
src/switch_time.c

index 021ce18297379e4ddd7a1a0ac80763de7b17e55b..92d08b0949f6ba1f63c11378fdb4560cbbe64746 100644 (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);