forked from enlightenment/efl
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
This commit is contained in:
parent
8f3bef248b
commit
3ce052d9ec
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue