]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Value stored to 'tz_name' is never read - switch_strftime_tz() 361/head
authorDragos Oancea <dragos@signalwire.com>
Fri, 14 Feb 2020 16:55:02 +0000 (16:55 +0000)
committerDragos Oancea <dragos@signalwire.com>
Fri, 14 Feb 2020 16:55:02 +0000 (16:55 +0000)
src/switch_time.c

index 92d08b0949f6ba1f63c11378fdb4560cbbe64746..d97ff681d4b1876fa8266bbdaaeb5b39441a7700 100644 (file)
@@ -1493,7 +1493,6 @@ SWITCH_DECLARE(switch_status_t) switch_strftime_tz(const char *tz, const char *f
                tzdef = switch_lookup_timezone(tz_name);
        } else {
                /* We set the default timezone to GMT. */
-               tz_name = "GMT";
                tzdef = "GMT";
        }