diff --git a/system_wrappers/source/clock.cc b/system_wrappers/source/clock.cc index 1764bf2cd2..7784246fa4 100644 --- a/system_wrappers/source/clock.cc +++ b/system_wrappers/source/clock.cc @@ -248,10 +248,7 @@ class UnixRealTimeClock : public RealTimeClock { protected: timeval CurrentTimeVal() override { struct timeval tv; - struct timezone tz; - tz.tz_minuteswest = 0; - tz.tz_dsttime = 0; - gettimeofday(&tv, &tz); + gettimeofday(&tv, nullptr); return tv; } };