Revert "ecore_getopt - fix possible null arg"

This breaks terminology, look at the previous commit for more info.

This reverts commit d8130825d5.
This commit is contained in:
Tom Hacohen 2014-08-27 11:48:43 +01:00
parent 2f249a6436
commit 27f738115e
1 changed files with 1 additions and 3 deletions

View File

@ -1789,9 +1789,7 @@ _ecore_getopt_parse_arg_short(const Ecore_Getopt *parser,
desc_idx = desc - parser->descs;
value = values + desc_idx;
if (arg_val)
ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
else ret = EINA_FALSE;
ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
if ((!ret) && parser->strict)
return EINA_FALSE;
}