From 5b5b7113b7d24cb8b3935834a99eaf23393605ec Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 22 Apr 2015 13:13:19 +0100 Subject: [PATCH] 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. --- .../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 7e9e353694..b5cfa562d5 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;