Author: rtrieu
Date: Tue Feb 14 17:56:55 2017
New Revision: 295125

URL: http://llvm.org/viewvc/llvm-project?rev=295125&view=rev
Log:
Remove unused variable.  No functional change.

Modified:
    cfe/trunk/lib/Parse/ParseDecl.cpp

Modified: cfe/trunk/lib/Parse/ParseDecl.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDecl.cpp?rev=295125&r1=295124&r2=295125&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDecl.cpp Tue Feb 14 17:56:55 2017
@@ -2978,7 +2978,7 @@ void Parser::ParseDeclarationSpecifiers(
         // 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);


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to