r295125 - Remove unused variable. No functional change.
Richard Trieu via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 14 15:56:55 PST 2017
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);
More information about the cfe-commits
mailing list