summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--opengl/system/gralloc/Android.mk1
-rw-r--r--opengl/system/gralloc/gralloc.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/opengl/system/gralloc/Android.mk b/opengl/system/gralloc/Android.mk
index 8705602..71ac2f2 100644
--- a/opengl/system/gralloc/Android.mk
+++ b/opengl/system/gralloc/Android.mk
@@ -7,6 +7,7 @@ $(call emugl-import,libGLESv1_enc lib_renderControl_enc libOpenglSystemCommon)
$(call emugl-set-shared-library-subpath,hw)
LOCAL_CFLAGS += -DLOG_TAG=\"gralloc_goldfish\"
+LOCAL_CFLAGS += -Wno-missing-field-initializers
LOCAL_SRC_FILES := gralloc.cpp
diff --git a/opengl/system/gralloc/gralloc.cpp b/opengl/system/gralloc/gralloc.cpp
index f6f448c..442bbcc 100644
--- a/opengl/system/gralloc/gralloc.cpp
+++ b/opengl/system/gralloc/gralloc.cpp
@@ -1007,7 +1007,6 @@ struct private_module_t HAL_MODULE_INFO_SYM = {
unlock: gralloc_unlock,
perform: NULL,
lock_ycbcr: gralloc_lock_ycbcr,
- reserved_proc: {0, }
}
};