bu5hm4n pushed a commit to branch master.

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

commit 2b1285c9db454a4f389daf3eda8eb672c7d5ab5e
Author: Marcel Hollerbach <m...@marcel-hollerbach.de>
Date:   Tue Jan 15 00:04:15 2019 +0100

    eolian: add free functions for the array and future.
    
    It appears that NULL is not really usefull here, as this will lead to
    errors later on. (void) will force the free function to just do nothing
    and be later converted to a NOP.
    
    Reviewed-by: Daniel Kolesa <dan...@octaforge.org>
    Differential Revision: https://phab.enlightenment.org/D7629
---
 src/lib/eolian/database_validate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eolian/database_validate.c 
b/src/lib/eolian/database_validate.c
index 23c3f2a3e5..11899a9476 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -184,9 +184,9 @@ _validate_typedecl(Validate_State *vals, Eolian_Typedecl 
*tp)
 
 static const char * const eo_complex_frees[] =
 {
-   "eina_accessor_free", "eina_array_free", NULL, /* future */
+   "eina_accessor_free", "eina_array_free", "(void)", /* future */
    "eina_iterator_free", "eina_hash_free",
-   "eina_list_free", "eina_inarray_free", NULL
+   "eina_list_free", "eina_inarray_free", "(void)"
 };
 
 static const char *eo_obj_free = "efl_del";

-- 


Reply via email to