discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=254494a7dffbf0eaa155c28f7af59d9144869bed

commit 254494a7dffbf0eaa155c28f7af59d9144869bed
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Sep 25 21:32:08 2015 -0400

    initialize pixmap size vars in comp resize interceptor
    
    these are never uninitialized when they are used, but this
    is not obvious to the reader
    
    CID 1324956, 1324956
---
 src/bin/e_comp_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 46e69ab..cac1911 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -838,7 +838,7 @@ static void
 _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
 {
    E_Comp_Object *cw = data;
-   int pw, ph, fw, fh, iw, ih, prev_w, prev_h;
+   int pw = 0, ph = 0, fw, fh, iw, ih, prev_w, prev_h;
 
    /* if frame_object does not exist, client_inset indicates CSD.
     * this means that ec->client matches cw->w/h, the opposite

-- 


Reply via email to