devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=2f718de3b95b715fd965dedb93f0bc58bf9c8c00

commit 2f718de3b95b715fd965dedb93f0bc58bf9c8c00
Author: Chris Michael <cpmich...@osg.samsung.com>
Date:   Thu Jan 7 14:58:23 2016 -0500

    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 <cpmich...@osg.samsung.com>
---
 src/lib/els_box.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/els_box.c b/src/lib/els_box.c
index 54e3d58..eec3f95 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);

-- 


Reply via email to