Index: test/unittests/wasm/asm-types-unittest.cc |
diff --git a/test/unittests/wasm/asm-types-unittest.cc b/test/unittests/wasm/asm-types-unittest.cc |
index 4b9096d17d061235902891f3ad1d45b8eba2a195..36493df86d06480b4c3e810cebfb21d3a3fe95c3 100644 |
--- a/test/unittests/wasm/asm-types-unittest.cc |
+++ b/test/unittests/wasm/asm-types-unittest.cc |
@@ -266,8 +266,8 @@ TEST_F(AsmTypeTest, IsExactly) { |
} |
bool FunctionsWithSameSignature(AsmType* a, AsmType* b) { |
- if (auto* func_a = a->AsFunctionType()) { |
- if (auto* func_b = b->AsFunctionType()) { |
+ if (a->AsFunctionType()) { |
+ if (b->AsFunctionType()) { |
return a->IsA(b); |
} |
} |