lib: fix inconsistent indenting in process_bit1()
diff mbox series

Message ID 1614567775-4478-1-git-send-email-wangqing@vivo.com
State In Next
Commit aa7865d08b187773b2b06da142d8d60401b11633
Headers show
Series
  • lib: fix inconsistent indenting in process_bit1()
Related show

Commit Message

王擎 March 1, 2021, 3:02 a.m. UTC
Smatch gives the warning:
	lib/decompress_unlzma.c:395 process_bit1() warn: inconsistent indenting

Signed-off-by: Wang Qing <wangqing@vivo.com>
---
 lib/decompress_unlzma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

王擎 March 9, 2021, 3:44 a.m. UTC | #1
According to Samsung's iozone test result, HPB is going to boost random 
performance of rom on mobile, we believe it will help our customers on 
several occasions.

Patch
diff mbox series

diff --git a/lib/decompress_unlzma.c b/lib/decompress_unlzma.c
index 1cf409e..20a8580
--- a/lib/decompress_unlzma.c
+++ b/lib/decompress_unlzma.c
@@ -391,7 +391,7 @@  static inline int INIT process_bit0(struct writer *wr, struct rc *rc,
 static inline int INIT process_bit1(struct writer *wr, struct rc *rc,
 					    struct cstate *cst, uint16_t *p,
 					    int pos_state, uint16_t *prob) {
-  int offset;
+	int offset;
 	uint16_t *prob_len;
 	int num_bits;
 	int len;