From 4c539e3ccf932700749120fa133055543e97c1b1 Mon Sep 17 00:00:00 2001 From: "@ran-zhao-yu" Date: Thu, 4 Sep 2025 15:24:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E8=87=B4=E6=80=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: @ran-zhao-yu --- src/id_defined_parser.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/id_defined_parser.cpp b/src/id_defined_parser.cpp index bf8520a..490c742 100755 --- a/src/id_defined_parser.cpp +++ b/src/id_defined_parser.cpp @@ -221,8 +221,6 @@ bool IdDefinedParser::ParseId(const std::string &filePath, const cJSON *origId, bool IdDefinedParser::ParseType(const std::string &filePath, const cJSON *type, ResourceId &resourceId) { if (!type) { - std::string msg = "type"; - msg.append(cJSON_GetErrorPtr()); PrintError(GetError(ERR_CODE_JSON_NODE_MISSING).FormatCause("type").SetPosition(filePath)); return false; } -- Gitee