barbieri pushed a commit to branch master.

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

commit 71a74aa718bae3e756673c5ef43a6526b12301d0
Author: Gustavo Sverzut Barbieri <barbi...@profusion.mobi>
Date:   Mon Aug 28 18:26:29 2017 -0300

    eina_value: silent -Wextra for EINA_VALUE_EMPTY
    
    -Wextra complains about missing initializers, so provide the full 8
     bytes of the first member of the union.
---
 src/lib/eina/eina_value.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_value.h b/src/lib/eina/eina_value.h
index 3617bfbea6..e9bfff229c 100644
--- a/src/lib/eina/eina_value.h
+++ b/src/lib/eina/eina_value.h
@@ -312,7 +312,7 @@ typedef struct _Eina_Value Eina_Value;
  *
  * @since 1.21
  */
-#define EINA_VALUE_EMPTY ((Eina_Value){ 0 })
+#define EINA_VALUE_EMPTY ((Eina_Value){ NULL, { { 0, 0, 0, 0, 0, 0, 0, 0 } } })
 
 /**
  * @typedef Eina_Value_Type

-- 


Reply via email to