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>
This commit is contained in:
parent
79467d74fd
commit
d267bdf9bd
6 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue