aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-09 12:41:29 +0100
committerTom Hacohen <tom@stosb.com>2015-10-09 12:41:29 +0100
commit3301d869dff070e20dae90356f5355c8070e861a (patch)
tree1f7df3eebc0940eab069bd1b7a28df2a0394539c /src/modules/evas
parentEctor renderer: fix return value to be of the right type. (diff)
downloadefl-3301d869dff070e20dae90356f5355c8070e861a.tar.gz
Evas engine software generic: Fix clang warning.
Double parenthesis comparison is reserved for evaluation for assignment, not just comparison. So for example you should do ((x = 2)) and (x == 2), but not ((x == 2)) or (x = 2).
Diffstat (limited to 'src/modules/evas')
-rw-r--r--src/modules/evas/engines/software_generic/evas_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c
index 0fa92f13f3..dbeee246f4 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -3445,7 +3445,7 @@ _merge_rects(Render_Engine_Merge_Mode merge_mode,
// between multiple update regions to render and total pixels to render.
if (rects)
{
- if ((merge_mode == MERGE_BOUNDING)
+ if (merge_mode == MERGE_BOUNDING
// disable smart updates for debugging
// || (merge_mode == MERGE_SMART)
)