diff --git a/src/dawn/common/BUILD.gn b/src/dawn/common/BUILD.gn index 8a9c26db1f..9697500569 100644 --- a/src/dawn/common/BUILD.gn +++ b/src/dawn/common/BUILD.gn @@ -121,6 +121,7 @@ config("internal_config") { "-Wtautological-unsigned-zero-compare", "-Wunreachable-code-aggressive", "-Wunused-but-set-variable", + "-Wunused-macros", ] if (is_win) { diff --git a/src/dawn/tests/end2end/NonzeroTextureCreationTests.cpp b/src/dawn/tests/end2end/NonzeroTextureCreationTests.cpp index 25ab7189fe..33cb2c1ce0 100644 --- a/src/dawn/tests/end2end/NonzeroTextureCreationTests.cpp +++ b/src/dawn/tests/end2end/NonzeroTextureCreationTests.cpp @@ -68,9 +68,6 @@ class ExpectNonZero : public detail::CustomTextureExpectation { } }; -#define EXPECT_TEXTURE_NONZERO(T, ...) \ - AddTextureExpectation(__FILE__, __LINE__, new ExpectNonZero(), __VA_ARGS__) - class NonzeroTextureCreationTests : public DawnTestWithParams { protected: constexpr static uint32_t kSize = 128;