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)
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
169 169
170 if (do_aspect && aspect) 170 if (do_aspect && aspect)
171 { 171 {
172 int ww, hh, fw, fh; 172 int ww, hh, fw = 0, fh = 0;
173 double wx, wy, ax, ay; 173 double wx, wy, ax, ay;
174 174
175 evas_object_size_hint_weight_get(opt->obj, &wx, &wy); 175 evas_object_size_hint_weight_get(opt->obj, &wx, &wy);