diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-07 00:14:40 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-07 00:14:40 +0000 |
commit | 8b8d9534f185743fb72c59d4e735794e6e0f4335 (patch) | |
tree | 6bc9bbad7416ca57023b7a4b758334818d4fbb5c | |
parent | e53ac8aea2d9e8bbb11191398ea3cc2edb2d171a (diff) |
Silence unused variable warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152170 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Parse/ParseObjc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Parse/ParseObjc.cpp b/lib/Parse/ParseObjc.cpp index 959d63171b..971c7d4887 100644 --- a/lib/Parse/ParseObjc.cpp +++ b/lib/Parse/ParseObjc.cpp @@ -2030,7 +2030,7 @@ ExprResult Parser::ParseObjCAtExpression(SourceLocation AtLoc) { if (Lit.isInvalid()) { return move(Lit); } - SourceLocation EndLoc = ConsumeToken(); // consume the literal token. + ConsumeToken(); // Consume the literal token. Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.take()); if (Lit.isInvalid()) @@ -2563,7 +2563,7 @@ ExprResult Parser::ParseObjCCharacterLiteral(SourceLocation AtLoc) { if (Lit.isInvalid()) { return move(Lit); } - SourceLocation EndLoc = ConsumeToken(); // consume the literal token. + ConsumeToken(); // Consume the literal token. return Owned(Actions.BuildObjCNumericLiteral(AtLoc, Lit.take())); } @@ -2577,7 +2577,7 @@ ExprResult Parser::ParseObjCNumericLiteral(SourceLocation AtLoc) { if (Lit.isInvalid()) { return move(Lit); } - SourceLocation EndLoc = ConsumeToken(); // consume the literal token. + ConsumeToken(); // Consume the literal token. return Owned(Actions.BuildObjCNumericLiteral(AtLoc, Lit.take())); } |