aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2018-01-31 18:04:39 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2018-01-31 18:04:39 +0900
commit98f38ac0f7d4e88779eebb31d0e191222c6ca41c (patch)
tree4a40843226e1954d3bca3e31a8343fda64164897
parentEfl.Ui.Progressbar: implement range min max (diff)
downloadefl-98f38ac0f7d4e88779eebb31d0e191222c6ca41c.tar.gz
Efl.ui.progressbar: remove duplicate call
eina_value_set() was already getting called
-rw-r--r--src/lib/elementary/efl_ui_progressbar.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_progressbar.c b/src/lib/elementary/efl_ui_progressbar.c
index b8129fec4f..2177cd28f6 100644
--- a/src/lib/elementary/efl_ui_progressbar.c
+++ b/src/lib/elementary/efl_ui_progressbar.c
@@ -114,8 +114,6 @@ _units_set(Evas_Object *obj)
// Keeping this bug since the legacy code was like that.
if (sd->is_legacy_format_string && !sd->is_legacy_format_cb)
eina_value_set(&val, 100 * sd->val);
- else
- eina_value_set(&val, sd->val);
eina_strbuf_reset(sd->format_strbuf);
sd->format_cb(sd->format_cb_data, sd->format_strbuf, val);