summaryrefslogtreecommitdiffhomepage
path: root/examples/core/core_loading_thread.c
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/core/core_loading_thread.c
parentba21b8d2744b39dadc6b17b9091a30cc5e00f0b8 (diff)
downloadraylib-64d64cc18114c02ecb068b20b6c4820df6182415.tar.gz
raylib-64d64cc18114c02ecb068b20b6c4820df6182415.zip
REVIEWED: Potential code issues reported by CodeQL #3476
Diffstat (limited to 'examples/core/core_loading_thread.c')
-rw-r--r--examples/core/core_loading_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/core/core_loading_thread.c b/examples/core/core_loading_thread.c
index 0538dcee..8451ff03 100644
--- a/examples/core/core_loading_thread.c
+++ b/examples/core/core_loading_thread.c
@@ -41,7 +41,7 @@ int main(void)
InitWindow(screenWidth, screenHeight, "raylib [core] example - loading thread");
- pthread_t threadId; // Loading data thread id
+ pthread_t threadId = { 0 }; // Loading data thread id
enum { STATE_WAITING, STATE_LOADING, STATE_FINISHED } state = STATE_WAITING;
int framesCounter = 0;