From ca6ba8ef080d89e305e404f6c5fb515618745444 Mon Sep 17 00:00:00 2001 From: Christian B Date: Mon, 19 Mar 2018 20:20:58 +0100 Subject: [PATCH] Fixed 'implicit-fallthrough' warning By adding an explict comment saying 'Intentional fallthrough' you hint at the compiler that it isn't an error/omission, but you explicitly want that (feature). --- core/rtw_mlme_ext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/rtw_mlme_ext.c b/core/rtw_mlme_ext.c index 59b4bc6..050bfa3 100644 --- a/core/rtw_mlme_ext.c +++ b/core/rtw_mlme_ext.c @@ -1424,6 +1424,7 @@ void mgt_dispatcher(_adapter *padapter, union recv_frame *precv_frame) ptable->func = &OnAuth; } else ptable->func = &OnAuthClient; + /* Intentional fallthrough */ /* pass through */ case WIFI_ASSOCREQ: case WIFI_REASSOCREQ: