diff --git a/src/os/src/detail/osTime.c b/src/os/src/detail/osTime.c index ab3f3668c57f24e167dd102ec887b5045fb2c5a6..034ebc28fc51a23893b6cefb9792359c832cd8b0 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 }