Revert "ecore_getopt - handle if arg_val is null"

This completely breaks getopt. Try running terminology --help.

This reverts commit 1bb6a8a4e4.
This commit is contained in:
Tom Hacohen 2014-08-22 14:51:35 +01:00
parent f35b5e35df
commit 41ec0da2aa
1 changed files with 1 additions and 3 deletions

View File

@ -1788,9 +1788,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;
}