Skip to content

Commit e064eb2

Browse files
committed
NFC: Silence unused variable warning
1 parent caa497a commit e064eb2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Parse/ParseDecl.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,6 @@ Parser::parseSourceFileViaASTGen(SmallVectorImpl<ASTNode> &items,
344344
Optional<DiagnosticTransaction> &transaction,
345345
bool suppressDiagnostics) {
346346
#if SWIFT_SWIFT_PARSER
347-
using ParsingFlags = SourceFile::ParsingFlags;
348-
const auto parsingOpts = SF.getParsingOptions();
349347
const auto &langOpts = Context.LangOpts;
350348

351349
// We only need to do parsing if we either have ASTGen enabled, or want the

0 commit comments

Comments
 (0)