REVIEWED: Potential code issues reported by CodeQL #3476

This commit is contained in:
Ray 2023-11-01 15:28:18 +01:00
parent ba21b8d274
commit 64d64cc181
12 changed files with 98 additions and 92 deletions

View file

@ -42,7 +42,7 @@ int main(void)
{
// Update
//----------------------------------------------------------------------------------
float startangle;
float startangle = 0.0f;
if (angleMode == 0) startangle = -Vector2LineAngle(v0, v1)*RAD2DEG;
if (angleMode == 1) startangle = 0.0f;