intel: ignore missing-field-initializers warnings
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 23 Aug 2015 13:20:17 +0000 (14:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 4 Sep 2015 20:39:06 +0000 (21:39 +0100)
We're about to remove the -Wno flag from configure.ac which will lead
to a lot of unnecessary spam.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
intel/intel_decode.c

index 345d457..e7aef74 100644 (file)
@@ -38,6 +38,9 @@
 #include "intel_chipset.h"
 #include "intel_bufmgr.h"
 
+/* The compiler throws ~90 warnings. Do not spam the build, until we fix them. */
+#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
+
 /* Struct for tracking drm_intel_decode state. */
 struct drm_intel_decode {
        /** stdio file where the output should land.  Defaults to stdout. */