aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorheretic <heretic@yandex-team.com>2022-08-10 19:08:50 +0300
committerheretic <heretic@yandex-team.com>2022-08-10 19:08:50 +0300
commita8325b381020e1a7d88f813b77b433727d7bf29b (patch)
tree30ed8ea4e45d33a75e198cc8b7ea3e056382d1ad /library
parentd76ca4f851f50282332ef0b1b47921203651515f (diff)
downloadydb-a8325b381020e1a7d88f813b77b433727d7bf29b.tar.gz
Prepare to clang14: library/cpp/codecs/greedy_dict -Wunused-but-set-variable
fix library/cpp/codecs/greedy_dict -Wunused-but-set-variable
Diffstat (limited to 'library')
-rw-r--r--library/cpp/codecs/greedy_dict/gd_builder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/codecs/greedy_dict/gd_builder.cpp b/library/cpp/codecs/greedy_dict/gd_builder.cpp
index 561bfbca01..844e07d5a0 100644
--- a/library/cpp/codecs/greedy_dict/gd_builder.cpp
+++ b/library/cpp/codecs/greedy_dict/gd_builder.cpp
@@ -114,9 +114,9 @@ namespace NGreedyDict {
}
ui32 TDictBuilder::Build(ui32 maxentries, ui32 maxiters, ui32 mindiff) {
- size_t totalsz = 0;
+ /* size_t totalsz = 0;
for (auto it : Input)
- totalsz += it.size();
+ totalsz += it.size();*/
while (maxiters) {
maxiters--;