summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-11-27 16:55:04 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-11-27 16:55:04 +0900
commit952593eef24e58d07efe31ff750f114deee9fb02 (patch)
tree40cbb8fb0b85ebb6a5232343b3d100c423dfd8ee
parentb8789e52ae5852a1769830786e8ed8971d05c9c3 (diff)
Efl.Ui.Format: remove the dupicalte code
struct tm check is already done at the beginning of the function.
-rw-r--r--src/lib/efl/interfaces/efl_ui_format.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_format.c b/src/lib/efl/interfaces/efl_ui_format.c
index 390a451..04bf964 100644
--- a/src/lib/efl/interfaces/efl_ui_format.c
+++ b/src/lib/efl/interfaces/efl_ui_format.c
@@ -100,12 +100,6 @@ _default_format_cb(void *data, Eina_Strbuf *str, const Eina_Value value)
100 eina_value_get(&value, &v); 100 eina_value_get(&value, &v);
101 eina_strbuf_append_printf(str, sd->template, v); 101 eina_strbuf_append_printf(str, sd->template, v);
102 } 102 }
103 else if (type == EINA_VALUE_TYPE_TM)
104 {
105 struct tm v;
106 eina_value_get(&value, &v);
107 eina_strbuf_append_strftime(str, sd->template, &v);
108 }
109 else 103 else
110 { 104 {
111 char *v = eina_value_to_string(&value); 105 char *v = eina_value_to_string(&value);