mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 03:26:05 -04:00
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:
parent
2f9700db6b
commit
0a42126eff
@ -39,9 +39,6 @@ void ReadingListBar::setupList()
|
||||
} catch (std::out_of_range& e) {
|
||||
continue;
|
||||
}
|
||||
if ( !archive ) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
auto illustration = archive->getIllustrationItem(48);
|
||||
std::string content = illustration.getData();
|
||||
|
Loading…
x
Reference in New Issue
Block a user