1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-23 12:45:43 +02:00

Fix warning about getVertexTypeDescription reaching its end (#14806)

This commit is contained in:
1F616EMO~nya
2024-08-12 21:34:25 +08:00
committed by GitHub
parent 85e717fcd1
commit 53a50e0b0d
2 changed files with 17 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ static const VertexType &getVertexTypeDescription(E_VERTEX_TYPE type)
return vtTangents;
default:
assert(false);
CODE_UNREACHABLE();
}
}