discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1aee9676674d6d848d343b65ff1c8f4a4dbda5bb

commit 1aee9676674d6d848d343b65ff1c8f4a4dbda5bb
Author: Chris Michael <cpmich...@osg.samsung.com>
Date:   Tue May 24 15:48:18 2016 -0400

    change 'if' clause to make gcc-6 happy
    
    Gcc 6 was spitting a nasty little compiler warning here:
    
    src/bin/e_fm.c: In function ‘e_fm2_icon_geometry_get’:
    src/bin/e_fm.c:2354:4: warning: this ‘if’ clause does not guard...
    [-Wmisleading-indentation]
    if (x) *x = 0; if (y) *y = 0; if (w) *w = 0; if (h) *h = 0;
    ^~
    src/bin/e_fm.c:2354:19: note: ...this statement, but the
    latter is misleadingly indented as if it is guarded by the ‘if’
    if (x) *x = 0; if (y) *y = 0; if (w) *w = 0; if (h) *h = 0;
    
    Signed-off-by: Chris Michael <cpmich...@osg.samsung.com>
---
 src/bin/e_fm.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index c748c47..662eab4 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -2351,7 +2351,11 @@ e_fm2_icon_geometry_get(E_Fm2_Icon *ic, int *x, int *y, 
int *w, int *h)
 {
    int xx, yy, ww, hh;
 
-   if (x) *x = 0; if (y) *y = 0; if (w) *w = 0; if (h) *h = 0;
+   if (x) *x = 0;
+   if (y) *y = 0;
+   if (w) *w = 0;
+   if (h) *h = 0;
+
    if (ic)
      {
         evas_object_geometry_get(ic->obj, &xx, &yy, &ww, &hh);

-- 


Reply via email to