]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: switch_strftime_tz() - Dead assignment
authorDragos Oancea <dragos@signalwire.com>
Thu, 14 Nov 2019 07:45:06 +0000 (07:45 +0000)
committerAndrey Volk <andywolk@gmail.com>
Mon, 30 Dec 2019 20:57:29 +0000 (00:57 +0400)
src/switch_time.c

index cbb47f9ef7ade60eda814b743bb5fbeb434aee30..e0c12aa737a96093c32136c674735d375f4d2268 100644 (file)
@@ -1459,7 +1459,6 @@ SWITCH_DECLARE(switch_status_t) switch_time_exp_tz_name(const char *tz, switch_t
                tzdef = switch_lookup_timezone(tz_name);
        } else {
                /* We set the default timezone to GMT. */
-               tz_name = "GMT";
                tzdef = "GMT";
        }