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:
parent
41ec0da2aa
commit
50632600e6
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue