From 52114760b35e37cb3a66a3b890160922353b596e Mon Sep 17 00:00:00 2001 From: TuxSH Date: Tue, 15 May 2018 00:44:10 +0200 Subject: [PATCH] Ignore unused-but-set-variable in ipc_templating.h --- .../libstratosphere/include/stratosphere/ipc_templating.hpp | 5 +++++ 1 file changed, 5 insertions(+) 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