From 704c448141888d18dde8a73b727856a77edcc189 Mon Sep 17 00:00:00 2001 From: Jean Guyomarc'h Date: Tue, 4 Nov 2014 23:59:59 +0100 Subject: [PATCH] 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 --- 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 2e849681e6..c1fb140f33 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 0e1a5e5471..f03d731b27 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;