Skip to content

Commit

Permalink
Fix compilation errors with unused variables (#9793)
Browse files Browse the repository at this point in the history
close #9794

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
  • Loading branch information
JinheLin and ti-chi-bot[bot] authored Jan 17, 2025
1 parent c113385 commit 294d600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/AggregateFunctions/AggregateFunctionNull.h
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ inline size_t enlargePrefixSize(size_t prefix_size) noexcept
static_assert((sizeof(prefix_size_look_up_table) / sizeof(UInt64)) == 7);

// align_size is equal to prefix_size at the beginning
auto align_size = prefix_size;
[[maybe_unused]] const auto align_size = prefix_size;

if (prefix_size < 8)
prefix_size = prefix_size_look_up_table[prefix_size - 1];
Expand Down

0 comments on commit 294d600

Please sign in to comment.