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
This commit is contained in:
Jaehyun Cho 2014-05-28 11:24:56 +09:00 committed by ChunEon Park
parent eee9607a4b
commit 9952699820
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ evas_common_draw_context_set_color(RGBA_Draw_Context *dc, int r, int g, int b, i
A_VAL(&(dc->col.col)) = (DATA8)a;
#ifdef HAVE_PIXMAN
#if defined(PIXMAN_FONT) || defined(PIXMAN_RECT) || defined(PIXMAN_LINE) || defined(PIXMAN_POLY)
if (dc && dc->col.pixman_color_image)
if (dc->col.pixman_color_image)
pixman_image_unref(dc->col.pixman_color_image);
pixman_color_t pixman_color;