Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused-but-set variables in fbpcs/emp_games/lift/pcf2_calculat…
…or/test/common/LiftCalculator.cpp +1 (#2399) Summary: Pull Request resolved: #2399 This diff removes a variable that was set, but which was not used. LLVM-15 has a warning `-Wunused-but-set-variable` which we treat as an error because it's so often diagnostic of a code issue. Unused but set variables often indicate a programming mistake, but can also just be unnecessary cruft that harms readability and performance. Removing this variable will not change how your code works, but the unused variable may indicate your code isn't working the way you thought it was. I've gone through each of these by hand, but mistakes may have slipped through. If you feel the diff needs changes before landing, **please commandeer** and make appropriate changes: there are hundreds of these and responding to them individually is challenging. For questions/comments, contact r-barnes. - If you approve of this diff, please use the "Accept & Ship" button :-) Reviewed By: palmje, dmm-fb Differential Revision: D56887378 fbshipit-source-id: d7a35af4488adb13efb8b9bf4fab74b78a1ae977
- Loading branch information