From c21bced4f8aa2e758d9e001d4b0158fce5b33988 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 24 May 2016 15:48:18 -0400 Subject: [PATCH] change 'if' clause to make gcc-6 happy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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 c748c4753..662eab442 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);