summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeongJong Lee <yj34.lee@samsung.com>2018-06-04 20:12:50 +0900
committerHermet Park <hermetpark@gmail.com>2018-06-04 20:12:50 +0900
commit07c627a9775e01969f2fec32af2ed147140ee554 (patch)
treecfe320fc8d3b0735c314aa333ec5aab2d8f075b8
parent1b245787fe1fc5da41b6ed77dd67cb022900afa6 (diff)
downloadefl-07c627a9775e01969f2fec32af2ed147140ee554.tar.gz
elm_label: remove needless variable
Reviewers: Hermet Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6238
-rw-r--r--src/lib/elementary/elm_label.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/lib/elementary/elm_label.c b/src/lib/elementary/elm_label.c
index 403d347b81..2a7734b43d 100644
--- a/src/lib/elementary/elm_label.c
+++ b/src/lib/elementary/elm_label.c
@@ -338,20 +338,17 @@ static Eina_Bool
_elm_label_text_set(Eo *obj, Elm_Label_Data *sd, const char *part, const char *label)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
- Eina_Bool int_ret = EINA_TRUE;
if (!label) label = "";
_label_format_set(wd->resize_obj, sd->format);
efl_text_markup_set(efl_part(efl_super(obj, MY_CLASS), part), label);
- if (int_ret)
- {
- sd->lastw = -1;
- elm_layout_sizing_eval(obj);
- _label_slide_change(obj);
- }
- return int_ret;
+ sd->lastw = -1;
+ elm_layout_sizing_eval(obj);
+ _label_slide_change(obj);
+
+ return EINA_TRUE;
}
static char *