Remove nullptr check

This commit is contained in:
Philippe Babin
2018-09-17 13:50:49 -04:00
committed by GitHub
parent e9444251d8
commit d3fcfe374e

View File

@@ -555,9 +555,6 @@ VirtualFile RegisteredCacheUnion::GetEntryUnparsed(RegisteredCacheEntry entry) c
VirtualFile RegisteredCacheUnion::GetEntryRaw(u64 title_id, ContentRecordType type) const {
for (const auto& c : caches) {
if (c == nullptr) {
continue;
}
const auto res = c->GetEntryRaw(title_id, type);
if (res != nullptr)
return res;