edje_external Multibuttonentry: Fix useless logic.

Summary:
Elm_Params_Multibuttonentry *mem = NULL;
if (!mem) return NULL;

Above code meaning that return null always... it's not intended i think.

Fix this weird code.

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4436
This commit is contained in:
Woochan Lee 2016-11-30 13:22:29 +09:00 committed by Hermet Park
parent b9965ffd8f
commit 9eea2ddb9e
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ external_multibuttonentry_params_parse(void *data EINA_UNUSED,
Edje_External_Param *param;
const Eina_List *l;
//mem = external_common_params_parse(Elm_Params_Multibuttonentry, data, obj, params);
mem = calloc(1, sizeof(Elm_Params_Multibuttonentry));
if (!mem)
return NULL;