From: Fangrui Song Date: Wed, 3 Oct 2018 20:53:53 +0000 (+0000) Subject: [test] Fix -Wunused-variable in rC343665 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20f85d43c1ef3d32bc2c1f99d1e7f202b03713ac;p=clang [test] Fix -Wunused-variable in rC343665 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343721 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ASTMatchers/Dynamic/ParserTest.cpp b/unittests/ASTMatchers/Dynamic/ParserTest.cpp index cda22ef355..9e891069c8 100644 --- a/unittests/ASTMatchers/Dynamic/ParserTest.cpp +++ b/unittests/ASTMatchers/Dynamic/ParserTest.cpp @@ -183,7 +183,7 @@ TEST(ParserTest, ParseMatcher) { TEST(ParserTest, ParseComment) { MockSema Sema; - const uint64_t ExpectedFoo = Sema.expectMatcher("Foo"); + Sema.expectMatcher("Foo"); Sema.parse(" Foo() # Bar() "); for (const auto &E : Sema.Errors) { EXPECT_EQ("", E);