Revert "ecore_getopt - fix arg_val being null"

It's as wrong as the other commit which TAsn already reverted.
This needs a fix elsewhere, particularly in the functions that
use arg_val.

This reverts commit ab53900364.
This commit is contained in:
Daniel Kolesa 2014-08-22 15:07:21 +01:00
parent 41ec0da2aa
commit 50632600e6
1 changed files with 1 additions and 3 deletions

View File

@ -1705,9 +1705,7 @@ _ecore_getopt_parse_arg_long(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;