mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Gardening] Fix some set but not used variables
This commit is contained in:
@@ -1978,7 +1978,7 @@ StringRef ModuleDecl::getModuleFilename() const {
|
||||
continue;
|
||||
}
|
||||
// Skip synthesized files.
|
||||
if (auto *SFU = dyn_cast<SynthesizedFileUnit>(F))
|
||||
if (isa<SynthesizedFileUnit>(F))
|
||||
continue;
|
||||
return StringRef();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user