From 26e49e1e82ddbb4850048ae75a9807a22ce1ecbd Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Fri, 4 Apr 2025 09:24:46 +0200 Subject: [PATCH] fix(vfs/cmake): avoid using uninitialized sources variable Signed-off-by: Frantisek Hrbata --- components/vfs/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/vfs/CMakeLists.txt b/components/vfs/CMakeLists.txt index 51d7a21dd7..ca4550376a 100644 --- a/components/vfs/CMakeLists.txt +++ b/components/vfs/CMakeLists.txt @@ -7,6 +7,8 @@ if(${target} STREQUAL "linux") return() endif() +set(sources "") + list(APPEND sources "vfs.c" "vfs_eventfd.c" "vfs_semihost.c"