]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Value stored to 'time_sync' during its initialization is never... 338/head
authorDragos Oancea <dragos@signalwire.com>
Wed, 12 Feb 2020 10:19:16 +0000 (10:19 +0000)
committerDragos Oancea <dragos@signalwire.com>
Wed, 12 Feb 2020 10:19:16 +0000 (10:19 +0000)
src/switch_time.c

index 5b8f46d1f91c53adb4aa3c236c4f781bfaf87417..021ce18297379e4ddd7a1a0ac80763de7b17e55b 100644 (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;