Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions components/libarchive/lib/archive_write_set_format_7zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,13 @@ static int _7z_compression_init_encoder(struct archive_write *, unsigned,
int);
static int compression_init_encoder_zstd(struct archive *,
struct la_zstream *, int, int);
#ifdef UNUSED
#if defined(HAVE_ZSTD_H)
static int compression_code_zstd(struct archive *,
struct la_zstream *, enum la_zaction);
static int compression_end_zstd(struct archive *, struct la_zstream *);
#endif
#endif /* UNUSED */
static int compression_code(struct archive *,
struct la_zstream *, enum la_zaction);
static int compression_end(struct archive *,
Expand Down
2 changes: 2 additions & 0 deletions components/liblzma/lib/check/crc32_tablegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ print_crc32_table(void)
}


#ifdef UNUSED
static void
print_lz_table(void)
{
Expand All @@ -100,6 +101,7 @@ print_lz_table(void)

return;
}
#endif /* UNUSED */


int
Expand Down
9 changes: 9 additions & 0 deletions components/liblzma/lib/lzma/lzma_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

#define len_decode(target, ld, pos_state, seq) \
do { \
[[fallthrough]]; \
case seq ## _CHOICE: \
rc_if_0(ld.choice, seq ## _CHOICE) { \
rc_update_0(ld.choice); \
Expand All @@ -41,6 +42,7 @@ case seq ## _CHOICE: \
target = MATCH_LEN_MIN; \
} else { \
rc_update_1(ld.choice); \
[[fallthrough]]; \
case seq ## _CHOICE2: \
rc_if_0(ld.choice2, seq ## _CHOICE2) { \
rc_update_0(ld.choice2); \
Expand All @@ -56,6 +58,7 @@ case seq ## _CHOICE2: \
} \
} \
symbol = 1; \
[[fallthrough]]; \
case seq ## _BITTREE: \
do { \
rc_bit(probs[symbol], , , seq ## _BITTREE); \
Expand Down Expand Up @@ -346,6 +349,7 @@ lzma_decode(lzma_coder *restrict coder, lzma_dict *restrict dictptr,
// since we already calculated it when setting up the local
// variables.
pos_state = dict.pos & pos_mask;
[[fallthrough]];

case SEQ_NORMALIZE:
case SEQ_IS_MATCH:
Expand Down Expand Up @@ -483,6 +487,7 @@ lzma_decode(lzma_coder *restrict coder, lzma_dict *restrict dictptr,
// output history.

rc_update_1(coder->is_match[state][pos_state]);
[[fallthrough]];

case SEQ_IS_REP:
rc_if_0(coder->is_rep[state], SEQ_IS_REP) {
Expand Down Expand Up @@ -687,6 +692,7 @@ lzma_decode(lzma_coder *restrict coder, lzma_dict *restrict dictptr,
ret = LZMA_DATA_ERROR;
goto out;
}
[[fallthrough]];

case SEQ_IS_REP0:
rc_if_0(coder->is_rep0[state], SEQ_IS_REP0) {
Expand Down Expand Up @@ -718,6 +724,7 @@ lzma_decode(lzma_coder *restrict coder, lzma_dict *restrict dictptr,

} else {
rc_update_1(coder->is_rep0[state]);
[[fallthrough]];

case SEQ_IS_REP1:
// The distance is rep1, rep2 or rep3. Once
Expand All @@ -733,6 +740,7 @@ lzma_decode(lzma_coder *restrict coder, lzma_dict *restrict dictptr,

} else {
rc_update_1(coder->is_rep1[state]);
[[fallthrough]];
case SEQ_IS_REP2:
rc_if_0(coder->is_rep2[state],
SEQ_IS_REP2) {
Expand Down Expand Up @@ -772,6 +780,7 @@ lzma_decode(lzma_coder *restrict coder, lzma_dict *restrict dictptr,
// to trigger the algorithm to set len outside this range.
assert(len >= MATCH_LEN_MIN);
assert(len <= MATCH_LEN_MAX);
[[fallthrough]];

case SEQ_COPY:
// Repeat len bytes from distance of rep0.
Expand Down
3 changes: 2 additions & 1 deletion components_pc/mongoose/mongoose.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// SPDX-License-Identifier: GPL-2.0-only or commercial

#include "mongoose.h"
#include "psa/crypto.h"

#ifdef MG_ENABLE_LINES
#line 1 "src/base64.c"
Expand Down Expand Up @@ -17023,4 +17024,4 @@ static bool w5500_up(struct mg_tcpip_if *ifp) {

struct mg_tcpip_driver mg_tcpip_driver_w5500 = {w5500_init, w5500_tx, w5500_rx,
w5500_up};
#endif
#endif
Loading