From 202e0c0212b0d55ce6fdc2d57f7f67936c120941 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 ab3f3668c5..034ebc28fc 100644 --- a/src/os/src/detail/osTime.c +++ b/src/os/src/detail/osTime.c @@ -374,8 +374,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