addressed a few things pointed out by static analysis

* marking move assignments noexcept
* using [[fallthrough]] consistently.
* getting rid of alloca.
This commit is contained in:
Christoph Oelckers 2024-01-07 08:46:47 +01:00
commit f13ae3b706
9 changed files with 14 additions and 18 deletions

View file

@ -400,7 +400,7 @@ static void GroupLinePortals(FLevelLocals *Level)
for (unsigned i = 0; i < Level->linePortals.Size(); i++)
{
auto port = Level->linePortals[i];
const auto& port = Level->linePortals[i];
bool gotsome;
if (tempindex[i] == -1)