Skip to content

Commit

Permalink
Remove unused-variable in fbpcs/emp_games/lift/pcf2_calculator/test/C…
Browse files Browse the repository at this point in the history
…alculatorAppTest.cpp

Summary:
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]]`.

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

Reviewed By: meyering

Differential Revision: D64279152
  • Loading branch information
r-barnes authored and facebook-github-bot committed Oct 14, 2024
1 parent aee6278 commit 2b24319
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ class CalculatorAppTestFixture

auto [communicationAgentFactory0, communicationAgentFactory1] =
fbpcf::engine::communication::getSocketAgentFactoryPair(tlsInfo);
int epoch = 1546300800;

auto future0 = std::async(
runUDPInputProcessorWithScheduler<0>,
Expand Down

0 comments on commit 2b24319

Please sign in to comment.