libstrat: enable -Wextra, -Werror
This caught an embarrassingly large number of bugs.
This commit is contained in:
1 parent
e1fbf27398
commit
7ca83c9d3b
160 files changed
+691
-152
No files matched your search
+2
@@ -835,6 +835,8 @@ namespace ams::sf::impl {
|
||||
}
|
||||
|
||||
virtual void SetOutObjects(const cmif::ServiceDispatchContext &ctx, const HipcRequest &response, cmif::ServiceObjectHolder *out_objects, cmif::DomainObjectId *ids) override final {
|
||||
AMS_UNUSED(ids);
|
||||
|
||||
#define _SF_IMPL_PROCESSOR_SET_OUT_OBJECT_IMPL(n) do { if constexpr (CommandMeta::NumOutObjects > n) { SetOutObjectImpl<n>(response, ctx.manager, std::move(out_objects[n])); } } while (0)
|
||||
_SF_IMPL_PROCESSOR_SET_OUT_OBJECT_IMPL(0);
|
||||
_SF_IMPL_PROCESSOR_SET_OUT_OBJECT_IMPL(1);
|
||||
|
||||
Reference in new issue
Block a user