-Wunused-variable. Remove unused variable declaration for |result|. draft
authorISHIKAWA, Chiaki <ishikawa@yk.rim.or.jp>
Sat, 09 Nov 2019 11:00:19 +0900
changeset 81075 09388c5f6d825eca9bc1e050a5420dd9f4cf487a
parent 81074 cc69a65dd1ca556d706487d20b4ec945d9696f8e
child 81076 f071e8855b79e28a0f0bf68e3e1993de517bfa41
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. Remove unused variable declaration for |result|.
mozilla-M-C-013-pixman-fast-path-unused-variable.patch
new file mode 100644
--- /dev/null
+++ b/mozilla-M-C-013-pixman-fast-path-unused-variable.patch
@@ -0,0 +1,26 @@
+# HG changeset patch
+# User ISHIKAWA, Chiaki <ishikawa@yk.rim.or.jp>
+# Parent  5216d79b54829da998a061c0d83154142ecf2b3b
+-Wunused-variable. Remove unused variable declaration for |result|.
+
+diff --git a/gfx/cairo/libpixman/src/pixman-fast-path.c b/gfx/cairo/libpixman/src/pixman-fast-path.c
+--- a/gfx/cairo/libpixman/src/pixman-fast-path.c
++++ b/gfx/cairo/libpixman/src/pixman-fast-path.c
+@@ -1251,17 +1251,16 @@ scaled_bilinear_scanline_8888_8888_OVER 
+     while ((w -= 1) >= 0)
+     {
+ 	uint32_t tl = src_top [pixman_fixed_to_int (vx)];
+ 	uint32_t tr = src_top [pixman_fixed_to_int (vx) + 1];
+ 	uint32_t bl = src_bottom [pixman_fixed_to_int (vx)];
+ 	uint32_t br = src_bottom [pixman_fixed_to_int (vx) + 1];
+ 	uint32_t src;
+ 	uint32_t d;
+-	uint32_t result;
+ 	d = *dst;
+ 	src = bilinear_interpolation (tl, tr,
+ 				      bl, br,
+ 				      pixman_fixed_to_bilinear_weight(vx),
+ 				      wb);
+ 	vx += unit_x;
+ 	*dst++ = over (src, d);
+     }