rlottie: fix warning regarding no return value

This commit is contained in:
subhransu mohanty 2019-07-01 18:19:43 +09:00 committed by Subhransu
parent 1f8b6aec90
commit 28428a1fba
2 changed files with 2 additions and 0 deletions

View File

@ -1250,6 +1250,7 @@ LOTTrimData::TrimType LottieParserImpl::getTrimType()
break; break;
default: default:
RAPIDJSON_ASSERT(0); RAPIDJSON_ASSERT(0);
return LOTTrimData::TrimType::Simultaneously;
break; break;
} }
} }

View File

@ -639,6 +639,7 @@ VRect VMatrix::map(const VRect &rect) const
} else { } else {
// Not supported // Not supported
assert(0); assert(0);
return {};
} }
} }