src/lib: Remove semicolon from end of macro
Fix the following warning detected by checkpatch.pl: WARNING: macros should not use a trailing semicolon TEST=Build and run on Galileo Gen2 Change-Id: Ie1d966b0f1f8fff401d6314fd2ef005ab6ac69db Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18764 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
3e1cab447b
commit
f59a75c99d
|
@ -71,12 +71,12 @@
|
||||||
|
|
||||||
#define UpdateBit0(p) \
|
#define UpdateBit0(p) \
|
||||||
Range = bound; \
|
Range = bound; \
|
||||||
*(p) += (kBitModelTotal - *(p)) >> kNumMoveBits;
|
*(p) += (kBitModelTotal - *(p)) >> kNumMoveBits
|
||||||
|
|
||||||
#define UpdateBit1(p) \
|
#define UpdateBit1(p) \
|
||||||
Range -= bound; \
|
Range -= bound; \
|
||||||
Code -= bound; \
|
Code -= bound; \
|
||||||
*(p) -= (*(p)) >> kNumMoveBits;
|
*(p) -= (*(p)) >> kNumMoveBits
|
||||||
|
|
||||||
#define RC_GET_BIT2(p, mi, A0, A1) \
|
#define RC_GET_BIT2(p, mi, A0, A1) \
|
||||||
IfBit0(p) { \
|
IfBit0(p) { \
|
||||||
|
@ -230,7 +230,7 @@ int LzmaDecode(CLzmaDecoderState *vs,
|
||||||
prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
|
prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
|
||||||
IfBit0(prob) {
|
IfBit0(prob) {
|
||||||
int symbol = 1;
|
int symbol = 1;
|
||||||
UpdateBit0(prob)
|
UpdateBit0(prob);
|
||||||
prob = p + Literal + (LZMA_LIT_SIZE *
|
prob = p + Literal + (LZMA_LIT_SIZE *
|
||||||
((((nowPos) & literalPosMask) << lc)
|
((((nowPos) & literalPosMask) << lc)
|
||||||
+ (previousByte >> (8 - lc))));
|
+ (previousByte >> (8 - lc))));
|
||||||
|
|
Loading…
Reference in New Issue