]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Value stored to 'theiroffset' is never read 269/head
authorDragos Oancea <dragos@signalwire.com>
Tue, 28 Jan 2020 22:57:12 +0000 (22:57 +0000)
committerDragos Oancea <dragos@signalwire.com>
Tue, 28 Jan 2020 22:57:12 +0000 (22:57 +0000)
src/switch_time.c

index e0c12aa737a96093c32136c674735d375f4d2268..65c4aaf9440955c0c3a3cbca81b2de3405771a1c 100644 (file)
@@ -2256,7 +2256,6 @@ static int tzparse(const char *name, register struct state *const sp, const int
                         ** Initially we're assumed to be in standard time.
                         */
                        isdst = FALSE;
-                       theiroffset = theirstdoffset;
                        /*
                         ** Now juggle transition times and types
                         ** tracking offsets as you do.