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:
Carsten Haitzler 2017-02-08 16:36:57 +09:00
parent b61e69a956
commit f6638432d3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}