summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-06 16:59:26 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:43:58 +0000
commit9a4e25a7a82dddedf1c3badb13c871f636685069 (patch)
treeafec87cdb672d865b130f3aacb8179a17ebbfc7f /src/lib/eina
parent79c783d16fb7250c75d950439cecd326d1afe9d2 (diff)
eina promise - warning fix - init storage field on return
fix a warning but this actually is a bug with storage being left uninitialized.
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_promise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_promise.c b/src/lib/eina/eina_promise.c
index 516ef5c6b2..d771581e06 100644
--- a/src/lib/eina/eina_promise.c
+++ b/src/lib/eina/eina_promise.c
@@ -1411,7 +1411,7 @@ _eina_future_cb_ignore_error(void *data, const Eina_Value value,
1411EAPI Eina_Future_Desc 1411EAPI Eina_Future_Desc
1412eina_future_cb_ignore_error(Eina_Error err) 1412eina_future_cb_ignore_error(Eina_Error err)
1413{ 1413{
1414 return (Eina_Future_Desc){ _eina_future_cb_ignore_error, (void *)(long)err }; 1414 return (Eina_Future_Desc){ _eina_future_cb_ignore_error, (void *)(long)err, NULL };
1415} 1415}
1416 1416
1417EAPI void 1417EAPI void