From: Dragos Oancea Date: Fri, 14 Feb 2020 16:55:02 +0000 (+0000) Subject: [core] scan-build: Value stored to 'tz_name' is never read - switch_strftime_tz() X-Git-Tag: v1.10.3^2~166^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F361%2Fhead;p=thirdparty%2Ffreeswitch.git [core] scan-build: Value stored to 'tz_name' is never read - switch_strftime_tz() --- diff --git a/src/switch_time.c b/src/switch_time.c index 92d08b0949..d97ff681d4 100644 --- a/src/switch_time.c +++ b/src/switch_time.c @@ -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"; }