Skip to content

Commit 682e104

Browse files
committedNov 13, 2024
Tests: Suppress a warning about an unused variable.

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎unittests/Threading/LockingHelpers.h

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ void scopedUnlockUnderScopedLockThreaded(M &mutex) {
144144

145145
ASSERT_EQ(count1, 500);
146146
ASSERT_EQ(count2, 500);
147+
(void)badCount; // FIXME: Is this value meant to be tested?
147148
}
148149

149150
// Test a critical section

0 commit comments

Comments
 (0)
Please sign in to comment.