evas json: remove dead code 66/196966/2
authorHermet Park <hermetpark@gmail.com>
Tue, 8 Jan 2019 08:06:12 +0000 (17:06 +0900)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Wed, 9 Jan 2019 06:00:16 +0000 (06:00 +0000)
Change-Id: I404e4418fdf22d595060048f859f04d789bc91a8

src/static_libs/vg_common/vg_common_json.c

index b41b267..e9c92d5 100644 (file)
@@ -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)