From aa7d6b1285c9b10cf56a0dd02a45eb6d9e030873 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Tue, 8 Jan 2019 17:06:12 +0900 Subject: [PATCH] evas json: remove dead code Change-Id: I404e4418fdf22d595060048f859f04d789bc91a8 --- src/static_libs/vg_common/vg_common_json.c | 12 ------------ 1 file changed, 12 deletions(-) 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) -- 2.7.4