Elm scroller: prevent usage of uninitialized vars as reported by valgrind.

This improves the terminology crash rate a bit.
This commit is contained in:
Tom Hacohen 2013-11-28 16:33:46 +00:00
parent be207937f5
commit 877abee7fe
1 changed files with 1 additions and 0 deletions

View File

@ -344,6 +344,7 @@ _elm_scroller_smart_sizing_eval(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
w = -1;
h = -1;
vmw = vmh = 0;
edje_object_size_min_calc(wd->resize_obj, &vmw, &vmh);
if (sd->min_w) w = vmw + minw;