Quiet Clang Static Analyzer warnings.

Most of the warnings were caused by uninitialized values. Some were in plug-ins that didn't have a break in a switch, causing the memory to be deleted twice.
This commit is contained in:
C.W. Betts
2024-04-19 17:42:17 -06:00
parent 0d6fcb1e7e
commit 7d7f5bf896
82 changed files with 99 additions and 55 deletions

View File

@@ -348,7 +348,7 @@ bool PhysicsDoSimRot(object *obj, float frame_time, matrix *orient, vector *rott
matrix rotmat;
physics_info *pi;
bool f_leveling = false;
float max_tilt_angle;
float max_tilt_angle = 0;
bool f_newbie_leveling = false;
if (frame_time <= 0.0)