mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
liblzma: LZ decoder: Add unlikely().
This commit is contained in:
parent
9c252e3ed0
commit
5938f6de4d
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ dict_put(lzma_dict *dict, uint8_t byte)
|
||||||
static inline bool
|
static inline bool
|
||||||
dict_put_safe(lzma_dict *dict, uint8_t byte)
|
dict_put_safe(lzma_dict *dict, uint8_t byte)
|
||||||
{
|
{
|
||||||
if (dict->pos == dict->limit)
|
if (unlikely(dict->pos == dict->limit))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
dict_put(dict, byte);
|
dict_put(dict, byte);
|
||||||
|
|
Loading…
Reference in a new issue