summaryrefslogtreecommitdiffhomepage
path: root/examples/others
diff options
context:
space:
mode:
authorRay <[email protected]>2023-11-01 15:28:18 +0100
committerRay <[email protected]>2023-11-01 15:28:18 +0100
commit64d64cc18114c02ecb068b20b6c4820df6182415 (patch)
treee95a1f4d95d5b3a09492ec54c2566047a588c275 /examples/others
parentba21b8d2744b39dadc6b17b9091a30cc5e00f0b8 (diff)
downloadraylib-64d64cc18114c02ecb068b20b6c4820df6182415.tar.gz
raylib-64d64cc18114c02ecb068b20b6c4820df6182415.zip
REVIEWED: Potential code issues reported by CodeQL #3476
Diffstat (limited to 'examples/others')
-rw-r--r--examples/others/raymath_vector_angle.c2
1 files changed, 1 insertions, 1 deletions
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;