mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 10:25:28 +00:00
Add NXT_UNUSED to silence unused warnings
This commit is contained in:
committed by
Corentin Wallez
parent
5ab96e0d40
commit
82565b340f
@@ -27,7 +27,7 @@ TEST(SerialQueue, BasicTest) {
|
||||
|
||||
// Iterating on empty queue 1) works 2) doesn't produce any values
|
||||
for (int value : queue.IterateAll()) {
|
||||
(void) value;
|
||||
NXT_UNUSED(value);
|
||||
ASSERT_TRUE(false);
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ TEST(SerialQueue, BasicTest) {
|
||||
ASSERT_TRUE(queue.Empty());
|
||||
|
||||
for (int value : queue.IterateAll()) {
|
||||
(void) value;
|
||||
NXT_UNUSED(value);
|
||||
ASSERT_TRUE(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user