summaryrefslogtreecommitdiff
path: root/src/lib/eet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-08 16:36:57 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-08 21:19:39 +0900
commitf6638432d3164cc7982f84109282263aad5c9374 (patch)
tree5bd004b2e29c189024c8da0d8c807701d4bee52a /src/lib/eet
parentb61e69a956e6080f492f76bcd3e2cc14a7256d32 (diff)
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
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eet/eet_data.c b/src/lib/eet/eet_data.c
index 865eee9e86..b0231ad548 100644
--- a/src/lib/eet/eet_data.c
+++ b/src/lib/eet/eet_data.c
@@ -1349,7 +1349,7 @@ eet_data_get_value(const Eet_Dictionary *ed,
1349 Eina_Value **value = dst; 1349 Eina_Value **value = dst;
1350 1350
1351 *value = eina_value_new(eina_type); 1351 *value = eina_value_new(eina_type);
1352 eina_value_pset(*value, tmp); 1352 if (!eina_value_pset(*value, tmp)) return -1;
1353 1353
1354 return eet_size + type_size; 1354 return eet_size + type_size;
1355 } 1355 }