cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=4c53dbbd98a48b3e94aa84622c4d30a24e26b5f0

commit 4c53dbbd98a48b3e94aa84622c4d30a24e26b5f0
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Tue Jan 26 15:51:19 2016 -0800

    scroller: prevent the use of uninitialized data in some case.
---
 src/lib/elm_scroller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_scroller.c b/src/lib/elm_scroller.c
index 04c95a0..29edd35 100644
--- a/src/lib/elm_scroller.c
+++ b/src/lib/elm_scroller.c
@@ -60,7 +60,7 @@ static void
 _elm_scroller_proxy_set(Evas_Object *obj, Elm_Scroller_Data *sd, Evas_Object 
*proxy)
 {
    Evas_Coord h_pagesize, v_pagesize;
-   Evas_Coord cw, ch;
+   Evas_Coord cw = 0, ch = 0;
    Evas_Object *content = sd->content;
 
    if (!content) return;

-- 


Reply via email to