]> granicus.if.org Git - clang/commitdiff
Remove unused variable. No functional change.
authorRichard Trieu <rtrieu@google.com>
Tue, 14 Feb 2017 23:56:55 +0000 (23:56 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 14 Feb 2017 23:56:55 +0000 (23:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295125 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseDecl.cpp

index e0347ccf2fb792b553207c1c0d540ad2ae4dc88f..20a9cb09329ecaa560e75c6bf931d30e292d0e57 100644 (file)
@@ -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);