mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Fix a warning in SwiftSourceDocInfo.cpp
tools/SourceKit/lib/SwiftLang/SwiftSourceDocInfo.cpp:1042:13: warning: unused variable 'CompIns' [-Wunused-variable]
auto &CompIns = AstUnit->getCompilerInstance();
^
1 warning generated.
Introduced by 5e8d8da380.
This commit is contained in:
@@ -1039,7 +1039,6 @@ static void resolveRange(SwiftLangSupport &Lang,
|
||||
Length(Length), Receiver(std::move(Receiver)){ }
|
||||
|
||||
void handlePrimaryAST(ASTUnitRef AstUnit) override {
|
||||
auto &CompIns = AstUnit->getCompilerInstance();
|
||||
if (trace::enabled()) {
|
||||
// FIXME: Implement tracing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user