mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
gcc: gcc8 only recognizes fallthu
Later gcc is more accepting, but there's at least one gcc8 toolchain that only likes to hear "fallthru", or it will flag it
This commit is contained in:
parent
e319b15b96
commit
3f0fef17aa
2 changed files with 4 additions and 1 deletions
|
@ -2014,6 +2014,7 @@ next:
|
|||
goto bail;
|
||||
}
|
||||
#endif
|
||||
/* fallthru */
|
||||
|
||||
case LWSCD_FINALIZATION:
|
||||
|
||||
|
|
|
@ -143,10 +143,12 @@ lws_http_client_socket_service(struct lws *wsi, struct lws_pollfd *pollfd)
|
|||
|
||||
lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0);
|
||||
|
||||
/* fallthrough */
|
||||
/* fallthru */
|
||||
|
||||
#endif
|
||||
|
||||
/* dummy fallthru to satisfy compiler */
|
||||
/* fallthru */
|
||||
case LRS_H1C_ISSUE_HANDSHAKE:
|
||||
|
||||
lwsl_debug("%s: LRS_H1C_ISSUE_HANDSHAKE\n", __func__);
|
||||
|
|
Loading…
Add table
Reference in a new issue