summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-11-28 16:33:46 +0000
committerTom Hacohen <tom@stosb.com>2013-11-28 16:33:46 +0000
commit8670180dbb9e1e3d666a04e139096530fc15e4f3 (patch)
tree2b12c997cb8a9f4eebd5feb61b52011ed4c5353e /src
parentf7d1c459639732b6d3b9308120e65a83b0ea4589 (diff)
Elm scroller: prevent usage of uninitialized vars as reported by valgrind.
This improves the terminology crash rate a bit.
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_scroller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elm_scroller.c b/src/lib/elm_scroller.c
index c20ce7ba4..edfc9b88a 100644
--- a/src/lib/elm_scroller.c
+++ b/src/lib/elm_scroller.c
@@ -344,6 +344,7 @@ _elm_scroller_smart_sizing_eval(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
344 344
345 w = -1; 345 w = -1;
346 h = -1; 346 h = -1;
347 vmw = vmh = 0;
347 edje_object_size_min_calc(wd->resize_obj, &vmw, &vmh); 348 edje_object_size_min_calc(wd->resize_obj, &vmw, &vmh);
348 349
349 if (sd->min_w) w = vmw + minw; 350 if (sd->min_w) w = vmw + minw;