summaryrefslogtreecommitdiffstats
path: root/lib/Parse
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2017-02-14 23:56:55 +0000
committerRichard Trieu <rtrieu@google.com>2017-02-14 23:56:55 +0000
commite3caca642448d9ee7b94e9cd4ac7a16d482f2833 (patch)
tree996fc276aea62146f73e4d4d1e050b0c3a59339c /lib/Parse
parente41ecb53e272474f548b3db7793585aaa361ea64 (diff)
Remove unused variable. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse')
-rw-r--r--lib/Parse/ParseDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp
index e0347ccf2f..20a9cb0932 100644
--- a/lib/Parse/ParseDecl.cpp
+++ b/lib/Parse/ParseDecl.cpp
@@ -2978,7 +2978,7 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS,
// attribute declaration and continue.
if (NextToken().is(tok::l_paren)) {
// Consume the __declspec identifier.
- SourceLocation Loc = ConsumeToken();
+ ConsumeToken();
// Eat the parens and everything between them.
BalancedDelimiterTracker T(*this, tok::l_paren);