Skip to content

Commit

Permalink
Remove unused-variable in velox/experimental/wave/exec/ToWave.cpp +3 (f…
Browse files Browse the repository at this point in the history
…acebookincubator#11504)

Summary:
Pull Request resolved: facebookincubator#11504

LLVM-15 has a warning `-Wunused-variable` which we treat as an error because it's so often diagnostic of a code issue. Unused variables can compromise readability or, worse, performance.

This diff either (a) removes an unused variable and, possibly, it's associated code or (b) qualifies the variable with `[[maybe_unused]]`.

#buildsonlynotests - Builds are sufficient

 - If you approve of this diff, please use the "Accept & Ship" button :-)

Differential Revision: D65755246

fbshipit-source-id: 8dfce093a9c638f0630fe7460a029f266083c834
  • Loading branch information
r-barnes authored and facebook-github-bot committed Nov 12, 2024
1 parent 1e23b5d commit c6843be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion velox/experimental/wave/exec/ToWave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,6 @@ bool isProjectedThrough(

bool CompileState::compile() {
auto operators = driver_.operators();
auto& nodes = driverFactory_.planNodes;

int32_t first = 0;
int32_t operatorIndex = 0;
Expand Down

0 comments on commit c6843be

Please sign in to comment.