summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonhee Choi <mh0310.choi@samsung.com>2018-05-09 15:34:41 +0900
committerMoonhee Choi <mh0310.choi@samsung.com>2018-05-09 15:36:42 +0900
commit46d456ce0d57d981b6674b5af68068a6bd0836f7 (patch)
tree5ff750390a51da2d2163504e1a209ac0249cc92d
parent9592c7500290c208f9432a216228684a5f8d3d42 (diff)
downloadcairo-accepted/tizen/unified/20180510.070810.tar.gz
cairo-accepted/tizen/unified/20180510.070810.tar.bz2
cairo-accepted/tizen/unified/20180510.070810.zip
[Coverity CID:22530] BugFix : written twice with same valuesubmit/tizen/20180509.064048accepted/tizen/unified/20180510.070810
Change-Id: If8c91ecf61427af776daab62b630a64cb57cbdbf Signed-off-by: Moonhee Choi <mh0310.choi@samsung.com>
-rw-r--r--src/cairo-composite-rectangles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-composite-rectangles.c b/src/cairo-composite-rectangles.c
index 2f0013fa7..2ef6489a1 100644
--- a/src/cairo-composite-rectangles.c
+++ b/src/cairo-composite-rectangles.c
@@ -61,7 +61,7 @@ _cairo_composite_rectangles_check_lazy_init (cairo_composite_rectangles_t *exten
if (type == CAIRO_PATTERN_TYPE_SURFACE) {
cairo_surface_pattern_t *surface_pattern = (cairo_surface_pattern_t *) pattern;
- cairo_surface_t *pattern_surface = pattern_surface = surface_pattern->surface;
+ cairo_surface_t *pattern_surface = surface_pattern->surface;
/* XXX: both source and target are GL surface */
if (cairo_surface_get_type (pattern_surface) == CAIRO_SURFACE_TYPE_GL &&