]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
GnuTLS: Use standard comment for falling through switch case
authorJouni Malinen <j@w1.fi>
Sat, 1 Feb 2025 16:49:15 +0000 (18:49 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 1 Feb 2025 16:49:15 +0000 (18:49 +0200)
This gets rid of an implicit-fallthrough warning from the compiler.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/tls_gnutls.c

index 378bebbd7ba4bb9e032fcf2ee9c6ceacc6e775d7..7d73b4f06863038faec763aa8aad04ca97c32f35 100644 (file)
@@ -1516,7 +1516,7 @@ struct wpabuf * tls_connection_handshake(void *tls_ctx,
                                conn->global->event_cb(conn->global->cb_ctx,
                                                       TLS_ALERT, &ev);
                        }
-                       /* continue */
+                       /* fallthrough */
                default:
                        wpa_printf(MSG_DEBUG, "%s - gnutls_handshake failed "
                                   "-> %s", __func__, gnutls_strerror(ret));