diff options
author | SangHyeon Jade Lee <sh10233.lee@samsung.com> | 2020-02-14 14:22:57 +0900 |
---|---|---|
committer | SangHyeon Jade Lee <sh10233.lee@samsung.com> | 2020-02-14 14:29:36 +0900 |
commit | 3ce052d9ec7e7a214a79a5b77da39f598275e1b1 (patch) | |
tree | 196d58611d1dd1067aae503cac5399e2f1c44926 | |
parent | 8f3bef248bb0002cbbd40052eb759d1b2ae29ce9 (diff) | |
download | efl-3ce052d9ec7e7a214a79a5b77da39f598275e1b1.tar.gz |
elm : fix unintialized data set
Summary:
fw, fh can be referenced in _box_object_aspect_calc
without initialized when ax, ay is greater or equal than 0.
Reviewers: eagleeye
Reviewed By: eagleeye
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D11348
-rw-r--r-- | src/lib/elementary/els_box.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/els_box.c b/src/lib/elementary/els_box.c index de39796d57..b870c9deeb 100644 --- a/src/lib/elementary/els_box.c +++ b/src/lib/elementary/els_box.c @@ -246,7 +246,7 @@ _smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, int w, in EINA_LIST_FOREACH(priv->children, l, opt) { Evas_Aspect_Control aspect = EVAS_ASPECT_CONTROL_NONE; - int asx, asy, ow = 0, oh = 0, fw, fh, ww, hh; + int asx, asy, ow = 0, oh = 0, fw = 0, fh = 0, ww, hh; double ax, ay; evas_object_size_hint_align_get(opt->obj, &ax, &ay); |