eina/tests: Adding return to non void function.

This fixes the test case for me. Also fixes two small wanring while being there.
This commit is contained in:
Stefan Schmidt 2013-03-13 13:19:54 +00:00
parent 8ca2871f82
commit 9f8744a50a
1 changed files with 3 additions and 2 deletions

View File

@ -138,8 +138,8 @@ static Eina_Bool
eina_simple_xml_parser_parse_with_custom_callback_tag_cb(void *data, eina_simple_xml_parser_parse_with_custom_callback_tag_cb(void *data,
Eina_Simple_XML_Type type, Eina_Simple_XML_Type type,
const char *content, const char *content,
unsigned offset, unsigned offset EINA_UNUSED,
unsigned length) unsigned length EINA_UNUSED)
{ {
int* parse_current_state = (int*) data; 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; *parse_current_state = simple_xml_parser_current_state_end;
} }
} }
return EINA_TRUE;
} }
START_TEST(eina_simple_xml_parser_parse_with_custom_callback) START_TEST(eina_simple_xml_parser_parse_with_custom_callback)