mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
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:
commit
0d29633e23
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user