Removed a check for a hence unachieavable situation

Now that `Library::getArchive()` never returns a null pointer the check
that was added a few commits ago as a fix for a particular manifestation
of a general problem is no longer needed.
This commit is contained in:
Veloman Yunkan 2024-04-29 15:51:17 +02:00
parent 2f9700db6b
commit 0a42126eff

View File

@ -39,9 +39,6 @@ void ReadingListBar::setupList()
} catch (std::out_of_range& e) { } catch (std::out_of_range& e) {
continue; continue;
} }
if ( !archive ) {
continue;
}
try { try {
auto illustration = archive->getIllustrationItem(48); auto illustration = archive->getIllustrationItem(48);
std::string content = illustration.getData(); std::string content = illustration.getData();