forked from enlightenment/efl
Eolian: fix warnings.
This commit is contained in:
parent
bddee1554f
commit
f2b857dcb3
|
@ -58,10 +58,10 @@ _eapi_decl_func_generate(const char *classname, Eolian_Function funcid, Eolian_F
|
||||||
func_lpref = eolian_function_data_get(funcid, EOLIAN_LEGACY_GET);
|
func_lpref = eolian_function_data_get(funcid, EOLIAN_LEGACY_GET);
|
||||||
if (!rettype)
|
if (!rettype)
|
||||||
{
|
{
|
||||||
const Eina_List *l = eolian_parameters_list_get(funcid);
|
l = eolian_parameters_list_get(funcid);
|
||||||
if (eina_list_count(l) == 1)
|
if (eina_list_count(l) == 1)
|
||||||
{
|
{
|
||||||
void* data = eina_list_data_get(l);
|
data = eina_list_data_get(l);
|
||||||
eolian_parameter_information_get((Eolian_Function_Parameter)data, NULL, &rettype, NULL, NULL);
|
eolian_parameter_information_get((Eolian_Function_Parameter)data, NULL, &rettype, NULL, NULL);
|
||||||
var_as_ret = EINA_TRUE;
|
var_as_ret = EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue