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:
parent
35e56d3f42
commit
f13ae3b706
9 changed files with 14 additions and 18 deletions
|
|
@ -155,7 +155,7 @@ void DFloor::Tick ()
|
|||
case genFloorChgT:
|
||||
case genFloorChg0:
|
||||
m_Sector->SetSpecial(&m_NewSpecial);
|
||||
//fall thru
|
||||
[[fallthrough]];
|
||||
case genFloorChg:
|
||||
m_Sector->SetTexture(sector_t::floor, m_Texture);
|
||||
break;
|
||||
|
|
@ -171,7 +171,7 @@ void DFloor::Tick ()
|
|||
case genFloorChgT:
|
||||
case genFloorChg0:
|
||||
m_Sector->SetSpecial(&m_NewSpecial);
|
||||
//fall thru
|
||||
[[fallthrough]];
|
||||
case genFloorChg:
|
||||
m_Sector->SetTexture(sector_t::floor, m_Texture);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue