forked from enlightenment/efl
Fix problem reported by clang.
By: Luis Felipe Strano Moraes SVN revision: 39256
This commit is contained in:
parent
452695bd6c
commit
4a5c489216
|
@ -1103,13 +1103,12 @@ _ecore_getopt_parse_append(const Ecore_Getopt *parser __UNUSED__, const Ecore_Ge
|
|||
*(double *)data = d;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (!data)
|
||||
default:
|
||||
{
|
||||
_ecore_getopt_desc_print_error(desc, "could not parse value.\n");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
*val->listp = eina_list_append(*val->listp, data);
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue