Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1260)

Unified Diff: test/unittests/wasm/asm-types-unittest.cc

Issue 2147113002: [wasm] Drop unused variables in asm-types-unittest. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698