Skip to content

Commit

Permalink
Fix unused-variable issues
Browse files Browse the repository at this point in the history
Reviewed By: dmm-fb

Differential Revision: D67178499

fbshipit-source-id: 899cdf5ba4673d874f07fe54aaeda161ae33d176
  • Loading branch information
r-barnes authored and facebook-github-bot committed Dec 13, 2024
1 parent d2eb5a5 commit d5c4dcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fboss/lib/CommonUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ inline int64_t getCumulativeValue(const StatT& stat, bool hasSumSuffix = true) {
std::this_thread::sleep_for(sleepTime); \
} \
/* Only switch to hard test on last retry */ \
bool WITH_RETRIES_softTest = WITH_RETRIES_tries != maxRetries; \
[[maybe_unused]] bool WITH_RETRIES_softTest = \
WITH_RETRIES_tries != maxRetries; \
bool WITH_RETRIES_pass = true; \
/* _ASSERT_EVENTUALLY and _EXPECT_EVENTUALLY will read \
* WITH_RETRIES_softTest to decide how to assert. \
Expand Down

0 comments on commit d5c4dcc

Please sign in to comment.