From: Dragos Oancea Date: Thu, 14 Nov 2019 07:45:06 +0000 (+0000) Subject: [core] scan-build: switch_strftime_tz() - Dead assignment X-Git-Tag: v1.10.2^2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed991ef1533eb0fb880a2025459d4c44156ffa80;p=thirdparty%2Ffreeswitch.git [core] scan-build: switch_strftime_tz() - Dead assignment --- diff --git a/src/switch_time.c b/src/switch_time.c index cbb47f9ef7..e0c12aa737 100644 --- a/src/switch_time.c +++ b/src/switch_time.c @@ -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"; }