Re: [f2fs-dev] [PATCH] libf2fs: Fix using uninitialized variables error in get_device_info()

2023-11-09 Thread Chao Yu
On 2023/11/8 20:38, zangyangyang1 wrote: This issue comes from a static code scanning tool. When c.sparse_mode is 1, stat_buf will not be initialized, but it will be used next. If this issue does not require modification, please ignore this commit. Signed-off-by: zangyangyang1 ---

[f2fs-dev] [PATCH] libf2fs: Fix using uninitialized variables error in get_device_info()

2023-11-08 Thread zangyangyang1 via Linux-f2fs-devel
This issue comes from a static code scanning tool. When c.sparse_mode is 1, stat_buf will not be initialized, but it will be used next. If this issue does not require modification, please ignore this commit. Signed-off-by: zangyangyang1 --- lib/libf2fs.c | 1 + 1 file changed, 1 insertion(+)