forked from enlightenment/efl
eet data - fix checking return value of eina_value_pset like elsewhere
eina_value_pset() return is checked pretty much everywhere except here. this addresses that inconsistency. this fixes CID 1367487
This commit is contained in:
parent
b61e69a956
commit
f6638432d3
|
@ -1349,7 +1349,7 @@ eet_data_get_value(const Eet_Dictionary *ed,
|
|||
Eina_Value **value = dst;
|
||||
|
||||
*value = eina_value_new(eina_type);
|
||||
eina_value_pset(*value, tmp);
|
||||
if (!eina_value_pset(*value, tmp)) return -1;
|
||||
|
||||
return eet_size + type_size;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue