1
0

Mark UNREACHABLE with intrinsics

This commit is contained in:
Tiger Wang
2021-02-20 16:24:13 +00:00
parent 6aa1d13508
commit 81e299f00c
18 changed files with 27 additions and 56 deletions

View File

@@ -287,8 +287,7 @@ double cStructGenTrees::GetNumTrees(
case biVariant:
case biNumVariantBiomes:
{
ASSERT(!"Invalid biome in cStructGenTrees::GetNumTrees");
return 0.0;
break;
}
}
UNREACHABLE("Unsupported biome");