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 | 03335cb18337a0ef51966452a66a69b01abea218 (patch) | |
tree | b83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/blockcodecs/core | |
parent | 09961b69c61f471ddd594e0fd877df62a8021562 (diff) | |
download | ydb-03335cb18337a0ef51966452a66a69b01abea218.tar.gz |
Restoring authorship annotation for <sobols@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/blockcodecs/core')
-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 5944a08890..f05df4d334 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 { |