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 <cpmichael@osg.samsung.com>
This commit is contained in:
parent
f4f42e8a28
commit
1aee967667
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue