diff --git a/stratosphere/libstratosphere/include/stratosphere/ipc_templating.hpp b/stratosphere/libstratosphere/include/stratosphere/ipc_templating.hpp index 7fc259ecd..6825865f1 100644 --- a/stratosphere/libstratosphere/include/stratosphere/ipc_templating.hpp +++ b/stratosphere/libstratosphere/include/stratosphere/ipc_templating.hpp @@ -6,6 +6,9 @@ #include "../boost/callable_traits.hpp" #include +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" + /* Represents an A descriptor. */ template struct InBuffer { @@ -462,3 +465,5 @@ Result WrapStaticIpcCommandImpl(IpcParsedCommand& r, IpcCommand &out_command, u8 return std::apply(Encoder{out_command}, result); } + +#pragma GCC diagnostic pop