forked from enlightenment/efl
Canvas text: use EINA_UNUSED for unused variables
Nothing special here. No need to for the "(void) eo_obj".
This commit is contained in:
parent
7915cc3e1d
commit
e34efbed96
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue