Silence false positive for uninitialized variable

g++ sometimes complains that *inputArgs might be uninitialized
This is never the case. If the unpacker fails to fill every
item in unpackArgs, this function returns early. So this is
just to silence the build.

Change-Id: Ic1e25127227e0b00ee962ba9949de534bdb8a6a2
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/include/ipmid/handler.hpp b/include/ipmid/handler.hpp
index 62fcbe9..20a897f 100644
--- a/include/ipmid/handler.hpp
+++ b/include/ipmid/handler.hpp
@@ -260,9 +260,16 @@
                 inputArgs = std::move(unpackArgs);
             }
 
+// g++ sometimes complains that *inputArgs might be uninitialized
+// This is never the case. If the unpacker fails to fill every
+// item in unpackArgs, this function returns early. So this is
+// just to silence the build.
+#pragma GCC diagnostic push // save current diagnostics state
+#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
             // execute the registered callback function and get the
             // ipmi::RspType<>
             result = std::apply(handler_, *inputArgs);
+#pragma GCC diagnostic pop // restore previous diagnostics state
         }
         catch (const HandlerException& e)
         {