[core] scan-build: Value stored to 'tz_name' is never read - switch_strftime_tz()
This commit is contained in:
parent
465890fcb9
commit
b4a591dcd2
|
@ -1493,7 +1493,6 @@ SWITCH_DECLARE(switch_status_t) switch_strftime_tz(const char *tz, const char *f
|
||||||
tzdef = switch_lookup_timezone(tz_name);
|
tzdef = switch_lookup_timezone(tz_name);
|
||||||
} else {
|
} else {
|
||||||
/* We set the default timezone to GMT. */
|
/* We set the default timezone to GMT. */
|
||||||
tz_name = "GMT";
|
|
||||||
tzdef = "GMT";
|
tzdef = "GMT";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue