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
ab539003643540aafe6e6ce09edb2d42d2c67f41.
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;