diff --git a/src/lottie/lottieparser.cpp b/src/lottie/lottieparser.cpp index faf1486b86..5f88aebdf7 100644 --- a/src/lottie/lottieparser.cpp +++ b/src/lottie/lottieparser.cpp @@ -1250,6 +1250,7 @@ LOTTrimData::TrimType LottieParserImpl::getTrimType() break; default: RAPIDJSON_ASSERT(0); + return LOTTrimData::TrimType::Simultaneously; break; } } diff --git a/src/vector/vmatrix.cpp b/src/vector/vmatrix.cpp index 334e33e7dd..f602468dc3 100644 --- a/src/vector/vmatrix.cpp +++ b/src/vector/vmatrix.cpp @@ -639,6 +639,7 @@ VRect VMatrix::map(const VRect &rect) const } else { // Not supported assert(0); + return {}; } }