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:
Chris Michael 2016-01-07 14:58:23 -05:00
parent b82446cf5d
commit 72aab589db
1 changed files with 1 additions and 1 deletions

View File

@ -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);