diff --git a/src/tests/eina/eina_test_simple_xml_parser.c b/src/tests/eina/eina_test_simple_xml_parser.c index 25a42c789c..5e550823f4 100644 --- a/src/tests/eina/eina_test_simple_xml_parser.c +++ b/src/tests/eina/eina_test_simple_xml_parser.c @@ -138,8 +138,8 @@ static Eina_Bool eina_simple_xml_parser_parse_with_custom_callback_tag_cb(void *data, Eina_Simple_XML_Type type, const char *content, - unsigned offset, - unsigned length) + unsigned offset EINA_UNUSED, + unsigned length EINA_UNUSED) { int* parse_current_state = (int*) data; @@ -217,6 +217,7 @@ eina_simple_xml_parser_parse_with_custom_callback_tag_cb(void *data, *parse_current_state = simple_xml_parser_current_state_end; } } + return EINA_TRUE; } START_TEST(eina_simple_xml_parser_parse_with_custom_callback)