Skip to content

Commit 6f86e5c

Browse files
committed
Fix unused variable warning.
1 parent 094b749 commit 6f86e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Parse/ParseDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ bool Parser::parseNewDeclAttribute(DeclAttributes &Attributes, SourceLoc AtLoc,
14911491
diagnose(ForLoc, diag::attr_dynamic_replacement_expected_colon);
14921492
return false;
14931493
}
1494-
auto ColonLoc = consumeToken(tok::colon);
1494+
consumeToken(tok::colon);
14951495
{
14961496
SyntaxParsingContext ContentContext(SyntaxContext,
14971497
SyntaxKind::DeclName);

0 commit comments

Comments
 (0)