From 5afc2182942f5735da89298c6b4143b29465b5de Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Sat, 2 Nov 2024 17:07:56 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96=E6=AD=BB=E6=9C=BA=E6=96=87?= =?utf8?q?=E4=BB=B6=E5=86=85=E5=AD=98=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/drivers/peripheral/utils/custom_utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/sdk/drivers/peripheral/utils/custom_utils.c b/code/sdk/drivers/peripheral/utils/custom_utils.c index 1efaacc24..0b5792633 100644 --- a/code/sdk/drivers/peripheral/utils/custom_utils.c +++ b/code/sdk/drivers/peripheral/utils/custom_utils.c @@ -1911,7 +1911,8 @@ void uapi_check_tar_file_count(char *folderpath) DIR *dir; struct dirent *entry; uint8_t count = 0; - uint32_t old_tm,new_tm; + uint32_t old_tm = 0; + uint32_t new_tm = 0;; char old_tm_str[11] = {0}; char new_tm_str[11] = {0}; char old_file_name[64] = {0}; -- 2.17.1