forked from enlightenment/efl
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:
parent
b9965ffd8f
commit
9eea2ddb9e
|
@ -88,7 +88,7 @@ external_multibuttonentry_params_parse(void *data EINA_UNUSED,
|
||||||
Edje_External_Param *param;
|
Edje_External_Param *param;
|
||||||
const Eina_List *l;
|
const Eina_List *l;
|
||||||
|
|
||||||
//mem = external_common_params_parse(Elm_Params_Multibuttonentry, data, obj, params);
|
mem = calloc(1, sizeof(Elm_Params_Multibuttonentry));
|
||||||
if (!mem)
|
if (!mem)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue