diff options
Diffstat (limited to 'base/logging.cc')
-rw-r--r-- | base/logging.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/base/logging.cc b/base/logging.cc index ad9d84a07f..01e311b1b6 100644 --- a/base/logging.cc +++ b/base/logging.cc @@ -796,7 +796,6 @@ void LogMessage::Init(const char* file, int line) { gettimeofday(&tv, nullptr); time_t t = tv.tv_sec; struct tm local_time; - memset(&local_time, 0, sizeof(local_time)); localtime_r(&t, &local_time); struct tm* tm_time = &local_time; stream_ << std::setfill('0') |