cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=afb49ec0962a48f0c500891853840c4b2882292f
commit afb49ec0962a48f0c500891853840c4b2882292f Author: Jee-Yong Um <jc9...@samsung.com> Date: Tue Mar 15 11:31:30 2016 -0700 edje_cc: remove unnecessary internal function Summary: This internal function was made for checking non-existence of Edje Part when handling insert_before/after attributes. However, checking is implemented in different way and this function is not used anywhere. Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3790 Signed-off-by: Cedric Bail <ced...@osg.samsung.com> --- src/bin/edje/edje_cc_out.c | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c index 534c695..3a063ba 100644 --- a/src/bin/edje/edje_cc_out.c +++ b/src/bin/edje/edje_cc_out.c @@ -4123,32 +4123,6 @@ using_file(const char *filename, const char type) } } -Eina_Bool -needed_part_exists(Edje_Part_Collection *pc, const char *name) -{ - Eina_Bool found; - unsigned int i; - - found = EINA_FALSE; - - for (i = 0; i < pc->parts_count; i++) - { - if (!strcmp(pc->parts[i]->name, name)) - { - found = EINA_TRUE; - break; - } - } - - if (!found) - { - ERR("Unable to find part name \"%s\" needed in group \"%s\".", - name, pc->part); - exit(-1); - } - return found; -} - void color_tree_root_free(void) { --