diff options
author | Fangrui Song <maskray@google.com> | 2018-10-03 20:53:53 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-10-03 20:53:53 +0000 |
commit | 20f85d43c1ef3d32bc2c1f99d1e7f202b03713ac (patch) | |
tree | 7c60ff3826e4569fb5dbf39a0b37babfec5d6734 | |
parent | 7268ababd049b0741843d1f52f7c6d747c6eba3c (diff) |
[test] Fix -Wunused-variable in rC343665
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343721 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | unittests/ASTMatchers/Dynamic/ParserTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |