summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_draw_main.c
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2014-05-28 11:24:56 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-05-28 11:24:56 +0900
commit995269982066db3b402e6cbde02d65743c722b1d (patch)
tree738ca9a03aba37d876ef177984edc835712b39d7 /src/lib/evas/common/evas_draw_main.c
parenteee9607a4b655fb49115435d0052f6b71c9230eb (diff)
evas_draw_main: Remove unnecessary conditional expression
Summary: The comparison dc with NULL is not necessary. So remove the unnecessary conditional expression. Reviewers: Hermet Reviewed By: Hermet CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D908
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_draw_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_draw_main.c b/src/lib/evas/common/evas_draw_main.c
index 16078b8181..d310fe5f4d 100644
--- a/src/lib/evas/common/evas_draw_main.c
+++ b/src/lib/evas/common/evas_draw_main.c
@@ -146,7 +146,7 @@ evas_common_draw_context_set_color(RGBA_Draw_Context *dc, int r, int g, int b, i
146 A_VAL(&(dc->col.col)) = (DATA8)a; 146 A_VAL(&(dc->col.col)) = (DATA8)a;
147#ifdef HAVE_PIXMAN 147#ifdef HAVE_PIXMAN
148#if defined(PIXMAN_FONT) || defined(PIXMAN_RECT) || defined(PIXMAN_LINE) || defined(PIXMAN_POLY) 148#if defined(PIXMAN_FONT) || defined(PIXMAN_RECT) || defined(PIXMAN_LINE) || defined(PIXMAN_POLY)
149 if (dc && dc->col.pixman_color_image) 149 if (dc->col.pixman_color_image)
150 pixman_image_unref(dc->col.pixman_color_image); 150 pixman_image_unref(dc->col.pixman_color_image);
151 151
152 pixman_color_t pixman_color; 152 pixman_color_t pixman_color;