// 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;
#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) \
#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.
//
#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