Skip to content

Commit d9e1111

Browse files
authored
Merge pull request swiftlang#20405 from aschwaighofer/fix_unused_var_warning
2 parents 864de1d + 6f86e5c commit d9e1111

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)