Skip to content

Commit 52918a7

Browse files
Devmate Botfacebook-github-bot
authored andcommitted
Fix CQS signal facebook-hte-LocalVariableShadowWarning in fbcode/dwio/nimble
Differential Revision: D91022135
1 parent fecd6b0 commit 52918a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dwio/nimble/encodings/tests/EncodingSelectionTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ void test(std::span<const T> values, std::vector<EncodingDetails> expected) {
192192
nimble::Vector<T> materialized{pool.get()};
193193
std::vector<velox::BufferPtr> newStringBuffers;
194194
const auto stringBufferFactory = [&](uint32_t totalLength) {
195-
auto& buffer = newStringBuffers.emplace_back(
195+
auto& stringBuffer = newStringBuffers.emplace_back(
196196
velox::AlignedBuffer::allocate<char>(totalLength, pool.get()));
197-
return buffer->asMutable<void>();
197+
return stringBuffer->asMutable<void>();
198198
};
199199
auto encoding =
200200
nimble::EncodingFactory::decode(*pool, serialized, stringBufferFactory);

0 commit comments

Comments
 (0)