summaryrefslogtreecommitdiff
path: root/intel
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-08-23 14:20:17 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-09-04 21:39:06 +0100
commit23667f566a5622490237d753cc514d4f95cf10ff (patch)
tree6636eb0b761824e07ad9ae93871d6fdfaba5a31f /intel
parenta9e5880b3e93f2fc981c910d16a9eab2ca81c7a0 (diff)
intel: ignore missing-field-initializers warnings
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>
Diffstat (limited to 'intel')
-rw-r--r--intel/intel_decode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/intel/intel_decode.c b/intel/intel_decode.c
index 345d4576..e7aef742 100644
--- a/intel/intel_decode.c
+++ b/intel/intel_decode.c
@@ -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. */