cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=eb1d47349bbefa9d224e4bea62e9cd0c3fb37fda

commit eb1d47349bbefa9d224e4bea62e9cd0c3fb37fda
Author: Cedric BAIL <cedric.b...@free.fr>
Date:   Thu Apr 25 15:40:31 2019 -0700

    eina: always initialize all the field of Eina_Value used by Eina_Promise.
    
    Reviewed-by: Xavi Artigas <xavierarti...@yahoo.es>
    Differential Revision: https://phab.enlightenment.org/D8794
---
 src/lib/eina/eina_promise.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_promise.c b/src/lib/eina/eina_promise.c
index a5f5c40b5a..f32d835fe4 100644
--- a/src/lib/eina/eina_promise.c
+++ b/src/lib/eina/eina_promise.c
@@ -1343,7 +1343,7 @@ eina_promise_all_array(Eina_Future *array[])
 
    for (i = 0; i < ctx->base.futures_len; i++)
      {
-        Eina_Value v;
+        Eina_Value v = { 0 };
 
         //Stub values...
         r = eina_value_setup(&v, EINA_VALUE_TYPE_INT);

-- 


Reply via email to