cedric pushed a commit to branch master.

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

commit 13482ef965ab207a90907ff11166313f7f420e21
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Mon Jun 5 11:57:18 2017 -0700

    eet: silence properly reused code through switch case statement fallthrough.
---
 src/lib/eet/eet_node.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/eet/eet_node.c b/src/lib/eet/eet_node.c
index 35245b4e6f..3f1bde44ac 100644
--- a/src/lib/eet/eet_node.c
+++ b/src/lib/eet/eet_node.c
@@ -393,6 +393,7 @@ eet_node_del(Eet_Node *n)
       case EET_G_HASH:
         eina_stringshare_del(n->key);
         /* No break here as we want it to fall through and free the resources 
*/
+        EINA_FALLTHROUGH;
 
       case EET_G_UNKNOWN:
       case EET_G_VAR_ARRAY:
@@ -562,6 +563,9 @@ case Eet_Type:                                            \
 
       case EET_T_INLINED_STRING:
         type_name = "inlined: \"";
+        /* inlined string are just like a string, but not inside the general
+         * dictionnary. No need to duplicate code. */
+        EINA_FALLTHROUGH;
 
       case EET_T_STRING:
         if (!type_name)

-- 


Reply via email to