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 (#2413)

Summary:
Pull Request resolved: #2413

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

fbshipit-source-id: a5d0a7aaeeb794248a2a96ecc462d60be80b069d
  • Loading branch information
r-barnes authored and facebook-github-bot committed Oct 16, 2024
1 parent aee6278 commit e2480e8
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 e2480e8

Please sign in to comment.