devilhorns pushed a commit to branch master.

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

commit a043f8d04d8a9646da5e0f546d0c40980dc7d068
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Nov 17 09:03:53 2015 -0500

    evas-gl: Remove extra parentheses
    
    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.mich...@samsung.com>
---
 src/modules/evas/engines/gl_common/evas_gl_api.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_api.c 
b/src/modules/evas/engines/gl_common/evas_gl_api.c
index e469fb3..42e6c7e 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_api.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_api.c
@@ -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;

-- 


Reply via email to