From ed991ef1533eb0fb880a2025459d4c44156ffa80 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Thu, 14 Nov 2019 07:45:06 +0000 Subject: [PATCH] [core] scan-build: switch_strftime_tz() - Dead assignment --- src/switch_time.c | 1 - 1 file changed, 1 deletion(-) 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"; }