summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-07 14:52:41 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:43:59 +0000
commit665a75378fcb791600043b5c84e68f441aaaf5d3 (patch)
tree3e5f28ef48f512bec3f01adb5449aa1bd4f7a83c /src/lib/eina
parentf80b8979ba11ade8e5c9365d4464eebc57cd50c3 (diff)
xxx - fix eina_future_then calls to pass sotrage val - fix warns
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_promise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_promise.c b/src/lib/eina/eina_promise.c
index d771581e06..b9adbe8e4d 100644
--- a/src/lib/eina/eina_promise.c
+++ b/src/lib/eina/eina_promise.c
@@ -686,7 +686,7 @@ eina_future_as_value(Eina_Future *f)
686 EINA_FUTURE_CHECK_RETURN_VAL(f, v); 686 EINA_FUTURE_CHECK_RETURN_VAL(f, v);
687 p = eina_promise_new(_scheduler_get(f), _dummy_cancel, NULL); 687 p = eina_promise_new(_scheduler_get(f), _dummy_cancel, NULL);
688 EINA_SAFETY_ON_NULL_GOTO(p, err_promise); 688 EINA_SAFETY_ON_NULL_GOTO(p, err_promise);
689 r_future = eina_future_then(f, _future_proxy, p); 689 r_future = eina_future_then(f, _future_proxy, p, NULL);
690 //If eina_future_then() fails f will be cancelled 690 //If eina_future_then() fails f will be cancelled
691 EINA_SAFETY_ON_NULL_GOTO(r_future, err_future); 691 EINA_SAFETY_ON_NULL_GOTO(r_future, err_future);
692 692
@@ -1305,7 +1305,7 @@ promise_proxy_of_future_array_create(Eina_Future *array[],
1305 1305
1306 for (i = 0; i < ctx->futures_len; i++) 1306 for (i = 0; i < ctx->futures_len; i++)
1307 { 1307 {
1308 ctx->futures[i] = eina_future_then(array[i], future_cb, ctx); 1308 ctx->futures[i] = eina_future_then(array[i], future_cb, ctx, NULL);
1309 //Futures will be cancelled by the caller... 1309 //Futures will be cancelled by the caller...
1310 EINA_SAFETY_ON_NULL_GOTO(ctx->futures[i], err_then); 1310 EINA_SAFETY_ON_NULL_GOTO(ctx->futures[i], err_then);
1311 } 1311 }