forked from enlightenment/efl
ecore_getopt: correct fix for CID 98382 and 98383
This commit is contained in:
parent
27f738115e
commit
9a3cf2ff49
|
@ -1292,6 +1292,9 @@ _ecore_getopt_parse_choice(const Ecore_Getopt *parser EINA_UNUSED,
|
|||
{
|
||||
const char *const *pchoice;
|
||||
|
||||
if (!arg_val)
|
||||
return EINA_FALSE;
|
||||
|
||||
if (!val->strp)
|
||||
{
|
||||
_ecore_getopt_desc_print_error(desc, _("value has no pointer set.\n"));
|
||||
|
|
Loading…
Reference in New Issue