summaryrefslogtreecommitdiff
path: root/archival/lzop.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/lzop.c')
-rw-r--r--archival/lzop.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/archival/lzop.c b/archival/lzop.c
index 46aa2d3..a752a9d 100644
--- a/archival/lzop.c
+++ b/archival/lzop.c
@@ -166,9 +166,12 @@ static NOINLINE int lzo1x_optimize(uint8_t *in, unsigned in_len,
o_m1_a++;
}
/* test if a literal run follows */
- else if (nl == 0 && ip[0] < 16 && ip[0] != 0 &&
- (lit + 2 + ip[0] < 16))
- {
+ else
+ if (nl == 0
+ && ip[0] < 16
+ && ip[0] != 0
+ && (lit + 2 + ip[0] < 16)
+ ) {
t = *ip++;
/* remove short run */
*litp &= ~3;