From 952593eef24e58d07efe31ff750f114deee9fb02 Mon Sep 17 00:00:00 2001 From: Amitesh Singh Date: Mon, 27 Nov 2017 16:55:04 +0900 Subject: [PATCH] Efl.Ui.Format: remove the dupicalte code struct tm check is already done at the beginning of the function. --- src/lib/efl/interfaces/efl_ui_format.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/efl/interfaces/efl_ui_format.c b/src/lib/efl/interfaces/efl_ui_format.c index 390a45173b..04bf96425e 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) eina_value_get(&value, &v); eina_strbuf_append_printf(str, sd->template, v); } - else if (type == EINA_VALUE_TYPE_TM) - { - struct tm v; - eina_value_get(&value, &v); - eina_strbuf_append_strftime(str, sd->template, &v); - } else { char *v = eina_value_to_string(&value);