From 3efdbe2035440406f14e115f7fdd915bd3fe252c Mon Sep 17 00:00:00 2001 From: liulinna Date: Wed, 9 Mar 2022 16:10:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8D=B0=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: guduhanyan --- services/time_manager/src/time_service.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/services/time_manager/src/time_service.cpp b/services/time_manager/src/time_service.cpp index 9ce6945..33a0598 100644 --- a/services/time_manager/src/time_service.cpp +++ b/services/time_manager/src/time_service.cpp @@ -569,8 +569,6 @@ bool TimeService::GetTimeByClockid(clockid_t clk_id, struct timespec &tv) TIME_HILOGE(TIME_MODULE_SERVICE, "Failed clock_gettime."); return false; } - auto times = tv.tv_sec * NANO_TO_BASE + tv.tv_nsec; - TIME_HILOGD(TIME_MODULE_SERVICE, "Clock ID: %{public}d", clk_id); return true; } void TimeService::NetworkTimeStatusOff()