mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Add /* fallthru */ comment to stop gcc 7+ from warning
This commit is contained in:
parent
2122997981
commit
818790ed77
2 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,7 @@ hsk_client_on_read (lsquic_stream_t *stream, struct lsquic_stream_ctx *sh)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LSQ_WARN("lsquic_enc_session_handle_chlo_reply returned unknown value %d", s);
|
LSQ_WARN("lsquic_enc_session_handle_chlo_reply returned unknown value %d", s);
|
||||||
|
/* fallthru */
|
||||||
case DATA_FORMAT_ERROR:
|
case DATA_FORMAT_ERROR:
|
||||||
LSQ_INFO("lsquic_enc_session_handle_chlo_reply returned an error");
|
LSQ_INFO("lsquic_enc_session_handle_chlo_reply returned an error");
|
||||||
c_hsk->buf_in = NULL;
|
c_hsk->buf_in = NULL;
|
||||||
|
|
|
@ -422,6 +422,7 @@ prepare_for_payload (struct lsquic_frame_reader *fr)
|
||||||
fr->fr_state.payload_length);
|
fr->fr_state.payload_length);
|
||||||
fr->fr_callbacks->frc_on_error(fr->fr_cb_ctx, stream_id,
|
fr->fr_callbacks->frc_on_error(fr->fr_cb_ctx, stream_id,
|
||||||
FR_ERR_HEADERS_TOO_LARGE);
|
FR_ERR_HEADERS_TOO_LARGE);
|
||||||
|
/* fallthru */
|
||||||
continue_skipping:
|
continue_skipping:
|
||||||
default:
|
default:
|
||||||
fr->fr_state.by_type.skip_state.n_skipped = 0;
|
fr->fr_state.by_type.skip_state.n_skipped = 0;
|
||||||
|
|
Loading…
Reference in a new issue