From 404bf9503ce43d25721a3975e9f8018d449c4655 Mon Sep 17 00:00:00 2001 From: anth64 Date: Mon, 19 Jan 2026 23:16:20 +0100 Subject: [PATCH] fix: init file count to 0, just in case... --- src/stk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stk.c b/src/stk.c index cf3773d..14965af 100644 --- a/src/stk.c +++ b/src/stk.c @@ -115,7 +115,7 @@ size_t stk_poll(void) { char (*file_list)[STK_PATH_MAX] = NULL; stk_module_event_t *events = NULL; - size_t file_count, i; + size_t file_count = 0, i; events = platform_directory_watch_check(watch_handle, &file_list, &file_count, stk_module_ids,