dxx-rebirth/similar
Kp 781ca0c97d Reorder endlevel exit_side initialization to fix -Wmaybe-uninitialized
gcc-11.3.0 issues a -Wmaybe-uninitialized warning for `exit_side`.
Reorder the code to eliminate this warning.  Also, fix a potential
out-of-bounds read if `matt_find_connect_side` returned `side_none`.
Before, this would lead to a read of `Side_opposite[side_none]` before
the test that `entry_side` is not `side_none`.  Now, if
`matt_find_connect_side` returns `side_none`, the read of
`Side_opposite` is skipped and logic goes directly to finding a proper
exit side.
2022-09-24 17:47:52 +00:00
..
2d Use std::span for poison helper functions 2022-09-24 17:47:51 +00:00
3d
arch Add Windows version resource for Windows build 2022-09-11 17:00:45 +00:00
editor Use auto type for Viewer in more places 2022-07-09 13:39:29 +00:00
main Reorder endlevel exit_side initialization to fix -Wmaybe-uninitialized 2022-09-24 17:47:52 +00:00
misc Use std::span for poison helper functions 2022-09-24 17:47:51 +00:00