mirror of
https://git.tukaani.org/xz.git
synced 2025-12-11 16:08:45 +00:00
liblzma: Remove unwanted semicolons
These didn't affect control flow.
This commit is contained in:
parent
524f6a7384
commit
723cee44d0
@ -38,7 +38,7 @@ lzma_vli_decode(lzma_vli *restrict vli, size_t *vli_pos,
|
||||
// Validate the arguments.
|
||||
if (*vli_pos >= LZMA_VLI_BYTES_MAX
|
||||
|| (*vli >> (*vli_pos * 7)) != 0)
|
||||
return LZMA_PROG_ERROR;;
|
||||
return LZMA_PROG_ERROR;
|
||||
|
||||
if (*in_pos >= in_size)
|
||||
return LZMA_BUF_ERROR;
|
||||
|
||||
@ -88,14 +88,14 @@ typedef enum {
|
||||
#define update_literal_normal(state) \
|
||||
state = ((state) <= STATE_SHORTREP_LIT_LIT \
|
||||
? STATE_LIT_LIT \
|
||||
: (state) - 3);
|
||||
: (state) - 3)
|
||||
|
||||
/// Like update_literal(state) but when it is already known that
|
||||
/// is_literal_state(state) is false.
|
||||
#define update_literal_matched(state) \
|
||||
state = ((state) <= STATE_LIT_SHORTREP \
|
||||
? (state) - 3 \
|
||||
: (state) - 6);
|
||||
: (state) - 6)
|
||||
|
||||
/// Indicate that the latest state was a match.
|
||||
#define update_match(state) \
|
||||
|
||||
@ -246,14 +246,14 @@ do { \
|
||||
#define rc_bit(prob, action0, action1) \
|
||||
rc_bit_last(prob, \
|
||||
symbol <<= 1; action0, \
|
||||
symbol = (symbol << 1) + 1; action1);
|
||||
symbol = (symbol << 1) + 1; action1)
|
||||
|
||||
|
||||
#define rc_bit_safe(prob, action0, action1, seq) \
|
||||
rc_bit_last_safe(prob, \
|
||||
symbol <<= 1; action0, \
|
||||
symbol = (symbol << 1) + 1; action1, \
|
||||
seq);
|
||||
seq)
|
||||
|
||||
// Unroll fixed-sized bittree decoding.
|
||||
//
|
||||
@ -327,7 +327,7 @@ do { \
|
||||
#define rc_bit_add_if_1(probs, dest, value_to_add_if_1) \
|
||||
rc_bit(probs[symbol], \
|
||||
, \
|
||||
dest += value_to_add_if_1);
|
||||
dest += value_to_add_if_1)
|
||||
|
||||
|
||||
// Matched literal
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user