aboutsummaryrefslogtreecommitdiff
path: root/lib/roles
diff options
context:
space:
mode:
authorDavid Jeffers <jeffersd@amazon.com>2021-06-24 17:25:38 +0100
committerAndy Green <andy@warmcat.com>2021-06-24 17:32:57 +0100
commitc90feba3f602c749849a76ba1c718c5854323b9d (patch)
tree9bb208d4168b9026b73cc587a545d17dd8873b4a /lib/roles
parent1c72e9eee6d386593b6fc94ebc2d8cfc13795a0f (diff)
downloadlibwebsockets-c90feba3f602c749849a76ba1c718c5854323b9d.tar.gz
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
Diffstat (limited to 'lib/roles')
-rw-r--r--lib/roles/http/client/client-http.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/roles/http/client/client-http.c b/lib/roles/http/client/client-http.c
index 381e9fd5..ebdea820 100644
--- a/lib/roles/http/client/client-http.c
+++ b/lib/roles/http/client/client-http.c
@@ -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__);