evas-gl: Remove extra parentheses
authorChris Michael <cp.michael@samsung.com>
Tue, 17 Nov 2015 14:03:53 +0000 (09:03 -0500)
committerChris Michael <cp.michael@samsung.com>
Tue, 17 Nov 2015 14:03:53 +0000 (09:03 -0500)
clang warns of equality comparison with extraneous parentheses in
these cases. Remove the extra parens as they are not needed anyway

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/gl_common/evas_gl_api.c

index e469fb3..42e6c7e 100644 (file)
@@ -953,7 +953,7 @@ _evgl_glGetFloatv(GLenum pname, GLfloat* 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] = (GLfloat)0.0;
                        params[1] = (GLfloat)0.0;
@@ -1149,7 +1149,7 @@ _evgl_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;