projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dc6052
)
Evas engine software generic: Fix clang warning.
author
Tom Hacohen
<tom@stosb.com>
Fri, 9 Oct 2015 11:41:29 +0000
(12:41 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Fri, 9 Oct 2015 11:41:29 +0000
(12:41 +0100)
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).
src/modules/evas/engines/software_generic/evas_engine.c
patch
|
blob
|
history
diff --git
a/src/modules/evas/engines/software_generic/evas_engine.c
b/src/modules/evas/engines/software_generic/evas_engine.c
index
0fa92f1
..
dbeee24
100644
(file)
--- 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)
)