-Wunused-variable. Commented out unuse const variable that is declared inside a macro. draft
authorISHIKAWA, Chiaki <ishikawa@yk.rim.or.jp>
Sat, 09 Nov 2019 11:00:23 +0900
changeset 81077 112f0311755582258d5b934636bdf26ac3f27189
parent 81076 f071e8855b79e28a0f0bf68e3e1993de517bfa41
child 81078 3ea553d1a739a8a3ad38cd3eb73ba1868635e852
push id9744
push userishikawa@yk.rim.or.jp
push dateSat, 09 Nov 2019 02:01:06 +0000
treeherdertry-comm-central@56c83244ac0e [default view] [failures only]
-Wunused-variable. Commented out unuse const variable that is declared inside a macro.
mozilla-M-C-015-pixman-access-unused-const-var.patch
new file mode 100644
--- /dev/null
+++ b/mozilla-M-C-015-pixman-access-unused-const-var.patch
@@ -0,0 +1,27 @@
+# HG changeset patch
+# User ISHIKAWA, Chiaki <ishikawa@yk.rim.or.jp>
+# Parent  2c7046b82e231b2dd32ed332c43ff125cdda00f5
+-Wunused-variable. Commented out unuse const variable that is declared inside a macro.
+
+diff --git a/gfx/cairo/libpixman/src/pixman-access.c b/gfx/cairo/libpixman/src/pixman-access.c
+--- a/gfx/cairo/libpixman/src/pixman-access.c
++++ b/gfx/cairo/libpixman/src/pixman-access.c
+@@ -460,17 +460,17 @@ convert_and_store_pixel (bits_image_t *	
+     {									\
+ 	uint8_t *bits =							\
+ 	    (uint8_t *)(image->bits + line * image->rowstride);		\
+ 									\
+ 	return fetch_and_convert_pixel ((pixman_image_t *)image,	\
+ 					bits, offset, PIXMAN_ ## format); \
+     }									\
+ 									\
+-    static const void *const __dummy__ ## format
++    // UNUSED: static const void *const __dummy__ ## format
+ 
+ MAKE_ACCESSORS(a8r8g8b8);
+ MAKE_ACCESSORS(x8r8g8b8);
+ MAKE_ACCESSORS(a8b8g8r8);
+ MAKE_ACCESSORS(x8b8g8r8);
+ MAKE_ACCESSORS(x14r6g6b6);
+ MAKE_ACCESSORS(b8g8r8a8);
+ MAKE_ACCESSORS(b8g8r8x8);