mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-05-20 12:00:07 -04:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user