aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-02-12 17:09:10 +0200
committerLasse Collin <lasse.collin@tukaani.org>2024-02-14 18:31:16 +0200
commit9c252e3ed086c6b72590b2531586c42596d4a9d9 (patch)
tree2e4cdafe72eb977d5e125bfc2b8364b7f1e242b6
parentliblzma: Optimize LZ decoder slightly. (diff)
downloadxz-9c252e3ed086c6b72590b2531586c42596d4a9d9.tar.xz
liblzma: LZ decoder: Remove a useless unlikely().
Diffstat (limited to '')
-rw-r--r--src/liblzma/lz/lz_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/lz/lz_decoder.h b/src/liblzma/lz/lz_decoder.h
index da273480..fbbe9a38 100644
--- a/src/liblzma/lz/lz_decoder.h
+++ b/src/liblzma/lz/lz_decoder.h
@@ -187,7 +187,7 @@ dict_repeat(lzma_dict *dict, uint32_t distance, uint32_t *len)
if (!dict->has_wrapped)
dict->full = dict->pos - 2 * LZ_DICT_REPEAT_MAX;
- return unlikely(*len != 0);
+ return *len != 0;
}