aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-05-15 17:27:17 (GMT)
committerJouni Malinen <j@w1.fi>2018-05-15 17:55:17 (GMT)
commitd267bdf9bd3e2b6a00d47d2fa9601e0079e5b853 (patch)
tree942afeb52174bfc812296f3733edf68206311e7f /src/radius
parent79467d74fd095923843e73726468b0c3b312bc60 (diff)
downloadhostap-d267bdf9bd3e2b6a00d47d2fa9601e0079e5b853.zip
hostap-d267bdf9bd3e2b6a00d47d2fa9601e0079e5b853.tar.gz
hostap-d267bdf9bd3e2b6a00d47d2fa9601e0079e5b853.tar.bz2
Silence new gcc warnings on switch statement fallthroughs
Reword the comments to make gcc 8.1 recognize these as designed cases and not trigger implicit-fallthrough warnings. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/radius')
-rw-r--r--src/radius/radius_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radius/radius_client.c b/src/radius/radius_client.c
index 06c804d..a87ee74 100644
--- a/src/radius/radius_client.c
+++ b/src/radius/radius_client.c
@@ -904,13 +904,13 @@ static void radius_client_receive(int sock, void *eloop_ctx, void *sock_ctx)
switch (res) {
case RADIUS_RX_PROCESSED:
radius_msg_free(msg);
- /* continue */
+ /* fall through */
case RADIUS_RX_QUEUED:
radius_client_msg_free(req);
return;
case RADIUS_RX_INVALID_AUTHENTICATOR:
invalid_authenticator++;
- /* continue */
+ /* fall through */
case RADIUS_RX_UNKNOWN:
/* continue with next handler */
break;