summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2019-05-16 13:49:39 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-16 13:49:39 -0400
commit8b21255bba87989100cbaac1a47c2f163017cfd9 (patch)
tree2740f2712d004135cc7f949bdfee34a90c7bd3bb
parentce9cad3a3b21e1048f66c275840bb9b2a02aa55d (diff)
downloadefl-8b21255bba87989100cbaac1a47c2f163017cfd9.tar.gz
Evil: remove fall through warning
Summary: gcc and clang support the usage of "fall through" comment to suppress this warning Test Plan: compilation Reviewers: raster, zmike, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8904
-rw-r--r--src/lib/evil/evil_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evil/evil_main.c b/src/lib/evil/evil_main.c
index 07dcd4a06d..cd7fde8555 100644
--- a/src/lib/evil/evil_main.c
+++ b/src/lib/evil/evil_main.c
@@ -100,6 +100,8 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
_evil_tls_index = TlsAlloc();
if (_evil_tls_index == TLS_OUT_OF_INDEXES)
return FALSE;
+ /* No break: Initialize the index for first thread. */
+ /* fall through */
case DLL_THREAD_ATTACH:
data = (LPVOID)LocalAlloc(LPTR, 4096);
if (!data)