Modules: Remove an extra early return, NFC
Remove an early return from an `else` block that's immediately followed by an equivalent early return after the `else` block. Differential Revision: https://reviews.llvm.org/D101671
This commit is contained in:
parent
f44c76d6e9
commit
64a390c1bc
|
@ -1890,8 +1890,6 @@ CompilerInstance::loadModule(SourceLocation ImportLoc,
|
|||
return Result;
|
||||
Module = Result;
|
||||
MM.cacheModuleLoad(*Path[0].first, Module);
|
||||
if (!Module)
|
||||
return Module;
|
||||
}
|
||||
|
||||
// If we never found the module, fail. Otherwise, verify the module and link
|
||||
|
|
Loading…
Reference in a new issue