forked from enlightenment/efl
Elm scroller: prevent usage of uninitialized vars as reported by valgrind.
This improves the terminology crash rate a bit.
This commit is contained in:
parent
be207937f5
commit
877abee7fe
|
@ -344,6 +344,7 @@ _elm_scroller_smart_sizing_eval(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
||||||
|
|
||||||
w = -1;
|
w = -1;
|
||||||
h = -1;
|
h = -1;
|
||||||
|
vmw = vmh = 0;
|
||||||
edje_object_size_min_calc(wd->resize_obj, &vmw, &vmh);
|
edje_object_size_min_calc(wd->resize_obj, &vmw, &vmh);
|
||||||
|
|
||||||
if (sd->min_w) w = vmw + minw;
|
if (sd->min_w) w = vmw + minw;
|
||||||
|
|
Loading…
Reference in New Issue