elementary: Fix warnings of uninitialized variable usage
This patch just fixes a compiler warning about using fw/fh uninitialized if the conditional is false Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
b82446cf5d
commit
72aab589db
|
@ -169,7 +169,7 @@ _smart_extents_non_homogeneous_calc(Evas_Object_Box_Data *priv, int w, int h, in
|
|||
|
||||
if (do_aspect && aspect)
|
||||
{
|
||||
int ww, hh, fw, fh;
|
||||
int ww, hh, fw = 0, fh = 0;
|
||||
double wx, wy, ax, ay;
|
||||
|
||||
evas_object_size_hint_weight_get(opt->obj, &wx, &wy);
|
||||
|
|
Loading…
Reference in New Issue