diff options
author | sobols <sobols@yandex-team.ru> | 2022-02-10 16:47:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:08 +0300 |
commit | 09961b69c61f471ddd594e0fd877df62a8021562 (patch) | |
tree | 54a7b60a9526a7104557a033eb0a8d70d64b604c /library/cpp/blockcodecs/core/common.h | |
parent | 4ce8835206f981afa4a61915a49a21fb750416ec (diff) | |
download | ydb-09961b69c61f471ddd594e0fd877df62a8021562.tar.gz |
Restoring authorship annotation for <sobols@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/blockcodecs/core/common.h')
-rw-r--r-- | library/cpp/blockcodecs/core/common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/blockcodecs/core/common.h b/library/cpp/blockcodecs/core/common.h index f05df4d334..5944a08890 100644 --- a/library/cpp/blockcodecs/core/common.h +++ b/library/cpp/blockcodecs/core/common.h @@ -91,11 +91,11 @@ namespace NBlockCodecs { const auto len = ReadUnaligned<ui64>(in.data()); - if (!len) + if (!len) return 0; - Base()->DoDecompress(TData(in).Skip(sizeof(len)), out, len); - return len; + Base()->DoDecompress(TData(in).Skip(sizeof(len)), out, len); + return len; } inline const T* Base() const noexcept { |