Fixed warning
This commit is contained in:
@@ -583,11 +583,11 @@ namespace lms::ui
|
|||||||
if (id == _releaseId)
|
if (id == _releaseId)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
const db::Release::pointer release{ db::Release::find(LmsApp->getDbSession(), id) };
|
const db::Release::pointer otherVersionRelease{ db::Release::find(LmsApp->getDbSession(), id) };
|
||||||
if (!release)
|
if (!otherVersionRelease)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
container->addWidget(releaseListHelpers::createEntryForOtherVersions(release));
|
container->addWidget(releaseListHelpers::createEntryForOtherVersions(otherVersionRelease));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user