mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpiutil] Fix clang-tidy warnings (#5406)
This commit is contained in:
@@ -28,7 +28,7 @@ TEST(SpinlockTest, Benchmark) {
|
||||
|
||||
// warmup
|
||||
std::thread thr([]() {
|
||||
int value = 0;
|
||||
[[maybe_unused]] int value = 0;
|
||||
|
||||
auto start = high_resolution_clock::now();
|
||||
for (int i = 0; i < 10000000; i++) {
|
||||
|
||||
Reference in New Issue
Block a user