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:
Yu Watanabe
2023-03-06 22:02:43 +09:00
committed by Luca Boccassi
parent d249c23211
commit 84d0dc53ac

View File

@@ -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);