mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 05:51:42 +00:00
rlottie: fix warning regarding no return value
This commit is contained in:
parent
1f8b6aec90
commit
28428a1fba
@ -1250,6 +1250,7 @@ LOTTrimData::TrimType LottieParserImpl::getTrimType()
|
||||
break;
|
||||
default:
|
||||
RAPIDJSON_ASSERT(0);
|
||||
return LOTTrimData::TrimType::Simultaneously;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -639,6 +639,7 @@ VRect VMatrix::map(const VRect &rect) const
|
||||
} else {
|
||||
// Not supported
|
||||
assert(0);
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user