From 64d64cc18114c02ecb068b20b6c4820df6182415 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 1 Nov 2023 15:28:18 +0100 Subject: REVIEWED: Potential code issues reported by CodeQL #3476 --- examples/others/raymath_vector_angle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/others') diff --git a/examples/others/raymath_vector_angle.c b/examples/others/raymath_vector_angle.c index ad573f54..d0f81548 100644 --- a/examples/others/raymath_vector_angle.c +++ b/examples/others/raymath_vector_angle.c @@ -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; -- cgit v1.2.3