aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/lz4
diff options
context:
space:
mode:
authoralkapov <alkapov@yandex-team.ru>2022-02-10 16:46:45 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:45 +0300
commit198698b9c1e18958addc9682fbfba4576d604757 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /contrib/libs/lz4
parente7ae1212afac5f352cb587d73abeca2a166777ba (diff)
downloadydb-198698b9c1e18958addc9682fbfba4576d604757.tar.gz
Restoring authorship annotation for <alkapov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/lz4')
-rw-r--r--contrib/libs/lz4/lz4hc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libs/lz4/lz4hc.c b/contrib/libs/lz4/lz4hc.c
index e1aebc61fa..a556d47920 100644
--- a/contrib/libs/lz4/lz4hc.c
+++ b/contrib/libs/lz4/lz4hc.c
@@ -1031,11 +1031,11 @@ void LZ4_resetStreamHC_fast (LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLev
LZ4_initStreamHC(LZ4_streamHCPtr, sizeof(*LZ4_streamHCPtr));
} else {
/* preserve end - base : can trigger clearTable's threshold */
- if (LZ4_streamHCPtr->internal_donotuse.end != NULL) {
- LZ4_streamHCPtr->internal_donotuse.end -= (uptrval)LZ4_streamHCPtr->internal_donotuse.base;
- } else {
- assert(LZ4_streamHCPtr->internal_donotuse.base == NULL);
- }
+ if (LZ4_streamHCPtr->internal_donotuse.end != NULL) {
+ LZ4_streamHCPtr->internal_donotuse.end -= (uptrval)LZ4_streamHCPtr->internal_donotuse.base;
+ } else {
+ assert(LZ4_streamHCPtr->internal_donotuse.base == NULL);
+ }
LZ4_streamHCPtr->internal_donotuse.base = NULL;
LZ4_streamHCPtr->internal_donotuse.dictCtx = NULL;
}