aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWoochan Lee <wc0917.lee@samsung.com>2016-11-30 13:22:29 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-11-30 13:22:29 +0900
commit9eea2ddb9efaa26d70feeb080d96aefd903ed8d2 (patch)
tree32c501544cf2e693e25e18c16bdf7cb7d8944ab7
parentevas: bug fix in bmp loader (diff)
downloadefl-9eea2ddb9efaa26d70feeb080d96aefd903ed8d2.tar.gz
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
-rw-r--r--src/edje_external/elementary/elm_multibuttonentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edje_external/elementary/elm_multibuttonentry.c b/src/edje_external/elementary/elm_multibuttonentry.c
index 5c62a85c70..cd6d0a78f4 100644
--- a/src/edje_external/elementary/elm_multibuttonentry.c
+++ b/src/edje_external/elementary/elm_multibuttonentry.c
@@ -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;