mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 11:37:56 -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) {
|
} 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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user