summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-01-26 15:51:19 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-02-01 14:21:27 -0800
commitf007f2927e10ea30b3a698fbc2eae4067bee9a4e (patch)
treeea1afd6530cec47070680a1a66fef64482322ec6
parentdfabca1fea2d55f503c1f4b5a3b366b2c916491d (diff)
scroller: prevent the use of uninitialized data in some case.
-rw-r--r--src/lib/elm_scroller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_scroller.c b/src/lib/elm_scroller.c
index 04c95a07b..29edd3556 100644
--- a/src/lib/elm_scroller.c
+++ b/src/lib/elm_scroller.c
@@ -60,7 +60,7 @@ static void
60_elm_scroller_proxy_set(Evas_Object *obj, Elm_Scroller_Data *sd, Evas_Object *proxy) 60_elm_scroller_proxy_set(Evas_Object *obj, Elm_Scroller_Data *sd, Evas_Object *proxy)
61{ 61{
62 Evas_Coord h_pagesize, v_pagesize; 62 Evas_Coord h_pagesize, v_pagesize;
63 Evas_Coord cw, ch; 63 Evas_Coord cw = 0, ch = 0;
64 Evas_Object *content = sd->content; 64 Evas_Object *content = sd->content;
65 65
66 if (!content) return; 66 if (!content) return;