cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=704c448141888d18dde8a73b727856a77edcc189

commit 704c448141888d18dde8a73b727856a77edcc189
Author: Jean Guyomarc'h <[email protected]>
Date:   Tue Nov 4 23:59:59 2014 +0100

    warnings: remove 2 "equality comparison with extraneous parentheses"
    
    Reviewers: stefan_schmidt, cedric
    
    Reviewed By: cedric
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D1644
    
    Signed-off-by: Cedric BAIL <[email protected]>
---
 src/lib/ecore_x/xlib/ecore_x.c                         | 2 +-
 src/modules/evas/engines/gl_common/evas_gl_api_gles1.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_x/xlib/ecore_x.c b/src/lib/ecore_x/xlib/ecore_x.c
index 2e84968..c1fb140 100644
--- a/src/lib/ecore_x/xlib/ecore_x.c
+++ b/src/lib/ecore_x/xlib/ecore_x.c
@@ -326,7 +326,7 @@ _ecore_x_modifiers_get(void)
 
    if (ECORE_X_MODIFIER_SHIFT)
      {
-        if ((ECORE_X_MODIFIER_SHIFT == ECORE_X_MODIFIER_CTRL))
+        if (ECORE_X_MODIFIER_SHIFT == ECORE_X_MODIFIER_CTRL)
           {
              ERR("CTRL conflicts with other modifiers. IGNORE CTRL");
              ECORE_X_MODIFIER_CTRL = 0;
diff --git a/src/modules/evas/engines/gl_common/evas_gl_api_gles1.c 
b/src/modules/evas/engines/gl_common/evas_gl_api_gles1.c
index 0e1a5e5..f03d731 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_api_gles1.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_api_gles1.c
@@ -974,7 +974,7 @@ _evgl_gles1_glGetIntegerv(GLenum pname, GLint *params)
                */
 
              // If it hasn't been initialized yet, return img object size
-             if ((pname == GL_SCISSOR_BOX)) //|| (pname == GL_VIEWPORT))
+             if (pname == GL_SCISSOR_BOX) //|| (pname == GL_VIEWPORT))
                {
                   params[0] = 0;
                   params[1] = 0;

-- 


Reply via email to