From d52f825de60cf8d168aa6899253b6edb862d135b Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Fri, 4 Oct 2013 09:54:27 +0900 Subject: [PATCH] eina: in case of an error we should exit not continue and manipulate dead data. This should fix a warning catched by LLVM/Clang. --- src/lib/eina/eina_inline_value.x | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/eina/eina_inline_value.x b/src/lib/eina/eina_inline_value.x index 2395e48af9..9ed7620c19 100644 --- a/src/lib/eina/eina_inline_value.x +++ b/src/lib/eina/eina_inline_value.x @@ -1296,6 +1296,7 @@ eina_value_hash_vset(Eina_Value *value, const char *key, va_list args) eina_value_type_flush(desc->subtype, mem); eina_hash_del_by_key(desc->hash, key); free(mem); + return EINA_FALSE; } } @@ -1378,6 +1379,7 @@ eina_value_hash_pset(Eina_Value *value, const char *key, const void *ptr) eina_value_type_flush(desc->subtype, mem); eina_hash_del_by_key(desc->hash, key); free(mem); + return EINA_FALSE; } }