diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2024-02-12 17:09:10 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2024-02-14 18:31:16 +0200 |
commit | 9c252e3ed086c6b72590b2531586c42596d4a9d9 (patch) | |
tree | 2e4cdafe72eb977d5e125bfc2b8364b7f1e242b6 /src/liblzma/lz/lz_decoder.h | |
parent | liblzma: Optimize LZ decoder slightly. (diff) | |
download | xz-9c252e3ed086c6b72590b2531586c42596d4a9d9.tar.xz |
liblzma: LZ decoder: Remove a useless unlikely().
Diffstat (limited to 'src/liblzma/lz/lz_decoder.h')
-rw-r--r-- | src/liblzma/lz/lz_decoder.h | 2 |
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; } |