Canvas text: use EINA_UNUSED for unused variables

Nothing special here. No need to for the "(void) eo_obj".
This commit is contained in:
Daniel Hirt 2017-09-28 19:29:35 +03:00
parent 7915cc3e1d
commit e34efbed96
1 changed files with 2 additions and 4 deletions

View File

@ -7986,13 +7986,12 @@ evas_textblock_text_markup_to_utf8(const Evas_Object *eo_obj, const char *text)
}
EAPI char *
evas_textblock_text_utf8_to_markup(const Evas_Object *eo_obj, const char *text)
evas_textblock_text_utf8_to_markup(const Evas_Object *eo_obj EINA_UNUSED,
const char *text)
{
Eina_Strbuf *sbuf;
char *str = NULL;
(void) eo_obj;
if (!text) return NULL;
sbuf = eina_strbuf_new();
@ -8002,7 +8001,6 @@ evas_textblock_text_utf8_to_markup(const Evas_Object *eo_obj, const char *text)
str = eina_strbuf_string_steal(sbuf);
eina_strbuf_free(sbuf);
return str;
}
static void