tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5b5b7113b7d24cb8b3935834a99eaf23393605ec

commit 5b5b7113b7d24cb8b3935834a99eaf23393605ec
Author: Tom Hacohen <t...@stosb.com>
Date:   Wed Apr 22 13:13:19 2015 +0100

    Ecore_evas wayland: remove double parenthesis around comparison.
    
    Double praenthesis should be used around assignments, not comparisons.
    Doing this correctly all aronud lets the compiler warn us about potential
    mistakes.
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
index 7e9e353..b5cfa56 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
@@ -380,7 +380,7 @@ _ecore_evas_wayland_shm_alpha_do(Ecore_Evas *ee, int alpha)
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
 
    if (!ee) return;
-   if ((ee->alpha == alpha)) return;
+   if (ee->alpha == alpha) return;
    ee->alpha = alpha;
    wdata = ee->engine.data;
 
@@ -419,7 +419,7 @@ _ecore_evas_wayland_shm_transparent_do(Ecore_Evas *ee, int 
transparent)
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
 
    if (!ee) return;
-   if ((ee->transparent == transparent)) return;
+   if (ee->transparent == transparent) return;
    ee->transparent = transparent;
 
    wdata = ee->engine.data;

-- 


Reply via email to