From: Hermet Park Date: Tue, 8 Jan 2019 08:06:12 +0000 (+0900) Subject: evas json: remove dead code X-Git-Tag: submit/tizen/20190116.045417~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa7d6b1285c9b10cf56a0dd02a45eb6d9e030873;p=platform%2Fupstream%2Fefl.git evas json: remove dead code Change-Id: I404e4418fdf22d595060048f859f04d789bc91a8 --- diff --git a/src/static_libs/vg_common/vg_common_json.c b/src/static_libs/vg_common/vg_common_json.c index b41b267..e9c92d5 100644 --- a/src/static_libs/vg_common/vg_common_json.c +++ b/src/static_libs/vg_common/vg_common_json.c @@ -250,24 +250,12 @@ _update_vg_tree(Efl_Canvas_Vg_Container *root, const LOTLayerNode *layer, int de //Note: We assume that if matte is valid, next layer must be a matte source. LOTMatteType matte = MatteNone; - Eina_Bool skip = EINA_FALSE; //Is this layer a container layer? for (unsigned int i = 0; i < layer->mLayerList.size; i++) { LOTLayerNode *clayer = layer->mLayerList.ptr[i]; - //FIXME: we can skip at the top of this function if mVisible is false. - if (skip) - { - //Next layer must be a dummy. so skip it. - if (clayer->mMatte != MatteNone) - skip = EINA_TRUE; - else - skip = EINA_FALSE; - continue; - } - char *key = _get_key_val(clayer); Efl_Canvas_Vg_Container *ctree = efl_key_data_get(root, key); if (!ctree)