From b49b6c7a5e462d8ad97429a4ea6f8f4eb181e0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=98=E7=BD=97=E5=AE=87?= Date: Tue, 15 Jul 2025 18:04:49 +0800 Subject: [PATCH] =?UTF-8?q?fix=E5=8D=95=E5=88=86=E5=8C=BA=E6=99=AE?= =?UTF-8?q?=E9=80=9AOTA=E5=8D=87=E7=BA=A7?= 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