From 71a6118ac01bc46f8864df9125b6ea39441705e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=81=E5=87=AF?= Date: Tue, 19 Aug 2025 03:22:11 +0000 Subject: [PATCH] update utils/utils.cpp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晁凯 --- utils/utils.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/utils/utils.cpp b/utils/utils.cpp index 069c83ed..da4a4167 100644 --- a/utils/utils.cpp +++ b/utils/utils.cpp @@ -1114,10 +1114,6 @@ bool SetUpdateSlot(int setSlot) bool SetUpdateSuffix(std::string stringsuffix) { - if (stringsuffix.empty()) { - LOG(ERROR) << "suffix is empty"; - return false; - } int tryNum = 3; while (tryNum-- > 0) { if (SetParameter("update.part.suffix", stringsuffix.c_str()) != 0) { -- Gitee