Merge pull request #361 from dragos-oancea/switch_time-tzname-val-never-read

[core] scan-build: Value stored to 'tz_name' is never read - switch_strftime_tz()
This commit is contained in:
Andrey Volk
2020-02-14 21:04:04 +04:00
committed by GitHub
-1
View 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";
}