From ba823cee8bafff98640408a777fe105a72fcea0d Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 10 Nov 2014 21:01:06 -0800 Subject: Frameworks/base: Mask Skia warning in GraphicsJNI Do not allow unused-parameter warnings from Skia includes. Change-Id: Icc765cb0eaf10cd566a64892fbfe7380143ccb42 --- core/jni/android/graphics/GraphicsJNI.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/jni/android') diff --git a/core/jni/android/graphics/GraphicsJNI.h b/core/jni/android/graphics/GraphicsJNI.h index dcc97e5..e2b31cb 100644 --- a/core/jni/android/graphics/GraphicsJNI.h +++ b/core/jni/android/graphics/GraphicsJNI.h @@ -1,6 +1,8 @@ #ifndef GraphicsJNI_DEFINED #define GraphicsJNI_DEFINED +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" #include "SkBitmap.h" #include "SkDevice.h" #include "SkPixelRef.h" @@ -8,6 +10,8 @@ #include "SkPoint.h" #include "SkRect.h" #include "SkImageDecoder.h" +#pragma GCC diagnostic pop + #include class SkBitmapRegionDecoder; -- cgit v1.1