From b8a9302f6973ddd1d43425add776989b3b9f14a0 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Fri, 8 Oct 2021 14:06:43 +0800 Subject: [PATCH] [TD-10533]:add return value to pass windows compilation --- src/os/src/detail/osTime.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/os/src/detail/osTime.c b/src/os/src/detail/osTime.c index 85670e5d41..ca5ae77fd8 100644 --- a/src/os/src/detail/osTime.c +++ b/src/os/src/detail/osTime.c @@ -411,8 +411,10 @@ int64_t convertTimePrecision(int64_t time, int32_t fromPrecision, int32_t toPrec return time; } } //end from nano - default: + default: { assert(0); + return time; // only to pass windows compilation + } } //end switch fromPrecision } -- GitLab