summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-01-07 14:58:23 -0500
committerChris Michael <cpmichael@osg.samsung.com>2016-01-07 15:04:09 -0500
commit2f718de3b95b715fd965dedb93f0bc58bf9c8c00 (patch)
treee2c4278c7ab34b29a60cd940a997262dcdf43d25
parent09a1e75825b2b3ee6cffe3fc092c77092d497887 (diff)
downloadelementary-2f718de3b95b715fd965dedb93f0bc58bf9c8c00.tar.gz
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>
-rw-r--r--src/lib/els_box.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/els_box.c b/src/lib/els_box.c
index 54e3d58ab..eec3f9593 100644
--- a/src/lib/els_box.c
+++ b/src/lib/els_box.c
@@ -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);