Efl.Ui.Format: remove the dupicalte code

struct tm check is already done at the beginning of the function.
This commit is contained in:
Amitesh Singh 2017-11-27 16:55:04 +09:00
parent b8789e52ae
commit 952593eef2
1 changed files with 0 additions and 6 deletions

View File

@ -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);