Skip to content

Commit

Permalink
fix: unused frac. (pingcap#2645)
Browse files Browse the repository at this point in the history
Co-authored-by: riteme <[email protected]>
  • Loading branch information
ti-chi-bot and riteme authored Aug 10, 2021
1 parent 90f8fab commit 7415f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Functions/FunctionsRound.h
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ struct TiDBRound

// TODO: RoundWithFrac.
assert(frac_column->isColumnConst());
auto frac_value = getFracFromConstColumn(frac_column);
auto frac_value [[maybe_unused]] = getFracFromConstColumn(frac_column);
assert(frac_value == 0);

// TODO: const input column.
Expand Down

0 comments on commit 7415f09

Please sign in to comment.