From f0bd6f877a52df7754447d526e44e920f5ea9a9e Mon Sep 17 00:00:00 2001 From: yangbiao59 Date: Mon, 4 Aug 2025 08:14:28 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4DoTruncate=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E4=B8=8B=E5=A4=9A=E4=BD=99=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangbiao59 --- interfaces/kits/js/src/mod_fs/properties/truncate_core.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/truncate_core.cpp b/interfaces/kits/js/src/mod_fs/properties/truncate_core.cpp index 66b68f185..77784f111 100644 --- a/interfaces/kits/js/src/mod_fs/properties/truncate_core.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/truncate_core.cpp @@ -78,7 +78,6 @@ static int Truncate(FileInfo &fileInfo, int64_t truncateLen) } FsResult TruncateCore::DoTruncate(FileInfo &fileInfo, const std::optional &len) - { auto succ = ValidFileInfo(fileInfo); if (!succ) { -- Gitee