From 2117ed4482bb9773e3ab8e216f71528069769043 Mon Sep 17 00:00:00 2001 From: wujianlin Date: Mon, 28 Jul 2025 19:23:04 +0800 Subject: [PATCH] Compilation warning rectification Issue:https://gitee.com/openharmony/commonlibrary_utils_lite/issues/ICPCV8?from=project-issue Signed-off-by: wujianlin --- hals/file/hal_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hals/file/hal_file.c b/hals/file/hal_file.c index 9d21f08..a170a63 100644 --- a/hals/file/hal_file.c +++ b/hals/file/hal_file.c @@ -46,6 +46,7 @@ int HalFileDelete(const char *path) int HalFileStat(const char *path, unsigned int *fileSize) { + (void)fileSize; struct stat info = { 0 }; int ret = stat(path, &info); if (ret < 0) { -- Gitee