1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 20:06:40 +00:00

os: silence a maybe-uninit warning

This commit is contained in:
Michael Scire 2022-04-16 12:28:21 -07:00
parent 02b126c2be
commit 175a34da43

View file

@ -38,7 +38,7 @@ namespace ams::os {
AMS_ASSERT(multi_wait->state == MultiWaitType::State_Initialized);
AMS_ASSERT(impl.IsListNotEmpty());
impl::MultiWaitHolderBase *holder_base;
impl::MultiWaitHolderBase *holder_base = nullptr;
ON_SCOPE_EXIT { *out = CastToMultiWaitHolder(holder_base); };
R_RETURN(impl.ReplyAndReceive(std::addressof(holder_base), reply_target));