scroller: prevent the use of uninitialized data in some case.

This commit is contained in:
Cedric BAIL 2016-01-26 15:51:19 -08:00
parent b6fb462257
commit 8dacdb465a
1 changed files with 1 additions and 1 deletions

View File

@ -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;