warnings: remove 2 "equality comparison with extraneous parentheses"
authorJean Guyomarc'h <jean.guyomarch@gmail.com>
Tue, 4 Nov 2014 22:59:59 +0000 (23:59 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 4 Nov 2014 23:15:52 +0000 (00:15 +0100)
Reviewers: stefan_schmidt, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1644

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore_x/xlib/ecore_x.c
src/modules/evas/engines/gl_common/evas_gl_api_gles1.c

index 2e84968..c1fb140 100644 (file)
@@ -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;
index 0e1a5e5..f03d731 100644 (file)
@@ -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;