projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6d9d0f
)
eet: silence properly reused code through switch case statement fallthrough.
author
Cedric BAIL
<cedric@osg.samsung.com>
Mon, 5 Jun 2017 18:57:18 +0000
(11:57 -0700)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Mon, 5 Jun 2017 19:07:57 +0000
(12:07 -0700)
src/lib/eet/eet_node.c
patch
|
blob
|
history
diff --git
a/src/lib/eet/eet_node.c
b/src/lib/eet/eet_node.c
index
35245b4
..
3f1bde4
100644
(file)
--- 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)