mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
time-util: drop redundant call of tzset()
It is also called at the beginning of `parse_timestamp_maybe_with_tz()`.
This commit is contained in:
committed by
Luca Boccassi
parent
d249c23211
commit
84d0dc53ac
@@ -994,8 +994,6 @@ int parse_timestamp(const char *t, usec_t *ret) {
|
||||
_exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
tzset();
|
||||
|
||||
shared->return_value = parse_timestamp_maybe_with_tz(t, tz_offset, /* valid_tz = */ true, &shared->usec);
|
||||
|
||||
_exit(EXIT_SUCCESS);
|
||||
|
||||
Reference in New Issue
Block a user