aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-02-03 17:38:23 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-02-03 17:38:23 +0100
commitdf23f55e395d78d9cfc0fc5054651f5da58dcf25 (patch)
tree92e55d2f7d09a67d3aaa6f3e8a36b7317bece502 /archival
parent524fa29a934e4974736e36d6a40225b5ed8e2b17 (diff)
downloadbusybox-df23f55e395d78d9cfc0fc5054651f5da58dcf25.tar.gz
bzip2: remove redundant clearing of an alredy unset bit
function old new delta mainSort 1178 1171 -7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r--archival/libarchive/bz/blocksort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/libarchive/bz/blocksort.c b/archival/libarchive/bz/blocksort.c
index 3fe74f71c..473244db0 100644
--- a/archival/libarchive/bz/blocksort.c
+++ b/archival/libarchive/bz/blocksort.c
@@ -873,10 +873,10 @@ void mainSort(EState* state,
*/
for (j = 0; j <= 255; j++) {
if (j != ss) {
- int32_t sb;
+ unsigned sb;
sb = (ss << 8) + j;
if (!(ftab[sb] & SETMASK)) {
- int32_t lo = ftab[sb] & CLEARMASK;
+ int32_t lo = ftab[sb] /*& CLEARMASK (redundant)*/;
int32_t hi = (ftab[sb+1] & CLEARMASK) - 1;
if (hi > lo) {
mainQSort3(