summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-10-03 20:53:53 +0000
committerFangrui Song <maskray@google.com>2018-10-03 20:53:53 +0000
commit20f85d43c1ef3d32bc2c1f99d1e7f202b03713ac (patch)
tree7c60ff3826e4569fb5dbf39a0b37babfec5d6734
parent7268ababd049b0741843d1f52f7c6d747c6eba3c (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.cpp2
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);