From 682e10457f9f14ee9795f2e043afacfc1ccdee6b Mon Sep 17 00:00:00 2001 From: Allan Shortlidge Date: Tue, 12 Nov 2024 21:42:09 -0800 Subject: [PATCH] Tests: Suppress a warning about an unused variable. --- unittests/Threading/LockingHelpers.h | 1 + 1 file changed, 1 insertion(+) diff --git a/unittests/Threading/LockingHelpers.h b/unittests/Threading/LockingHelpers.h index e7b00c25b51..eb45e1517a8 100644 --- a/unittests/Threading/LockingHelpers.h +++ b/unittests/Threading/LockingHelpers.h @@ -144,6 +144,7 @@ void scopedUnlockUnderScopedLockThreaded(M &mutex) { ASSERT_EQ(count1, 500); ASSERT_EQ(count2, 500); + (void)badCount; // FIXME: Is this value meant to be tested? } // Test a critical section