Efl tests: Fix dangerous coding style.

This commit is contained in:
Tom Hacohen 2016-02-16 13:01:00 +00:00
parent a47122c1ca
commit d3b7e067ef
1 changed files with 15 additions and 13 deletions

View File

@ -27,6 +27,7 @@ _efl_test_option_disp(int argc, char **argv, const Efl_Test_Case *etc)
int i;
for (i = 1; i < argc; i++)
{
if ((strcmp(argv[i], "-h") == 0) ||
(strcmp(argv[i], "--help") == 0))
{
@ -41,6 +42,7 @@ _efl_test_option_disp(int argc, char **argv, const Efl_Test_Case *etc)
_efl_tests_list(etc);
return 1;
}
}
return 0;
}