Cleanup: Remove unhelpful unreachable asset in asset shelf code

This commit is contained in:
Hans Goudey 2024-05-03 11:41:37 -04:00
parent a6ebfb05ad
commit 18eecb16db

@ -553,7 +553,6 @@ AssetShelf *active_shelf_from_area(const ScrArea *area)
const ARegion *shelf_region = BKE_area_find_region_type(area, RGN_TYPE_ASSET_SHELF); const ARegion *shelf_region = BKE_area_find_region_type(area, RGN_TYPE_ASSET_SHELF);
if (!shelf_region) { if (!shelf_region) {
/* Called in wrong context, area doesn't have a shelf. */ /* Called in wrong context, area doesn't have a shelf. */
BLI_assert_unreachable();
return nullptr; return nullptr;
} }