[clang][deps] NFC: Remove else after early return

This commit is contained in:
Jan Svoboda 2021-11-26 12:03:19 +01:00
parent eafbaca977
commit d8a3538788
1 changed files with 1 additions and 2 deletions

View File

@ -191,8 +191,7 @@ DependencyScanningWorkerFilesystem::getOrCreateFileSystemEntry(
// files before building them, and then looks for them again. If we
// cache the stat failure, it won't see them the second time.
return MaybeStatus.getError();
else
CacheEntry = CachedFileSystemEntry(MaybeStatus.getError());
CacheEntry = CachedFileSystemEntry(MaybeStatus.getError());
} else if (MaybeStatus->isDirectory())
CacheEntry = CachedFileSystemEntry::createDirectoryEntry(
std::move(*MaybeStatus));