mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-22 18:32:05 +00:00
os: silence a maybe-uninit warning
This commit is contained in:
parent
02b126c2be
commit
175a34da43
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue