diff --git a/libraries/libstratosphere/source/os/os_sdk_reply_and_receive.cpp b/libraries/libstratosphere/source/os/os_sdk_reply_and_receive.cpp index 58187e63d..44a49b292 100644 --- a/libraries/libstratosphere/source/os/os_sdk_reply_and_receive.cpp +++ b/libraries/libstratosphere/source/os/os_sdk_reply_and_receive.cpp @@ -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));