From 59c3e27c42c313fc22ee47b5374478f9eedafe1c Mon Sep 17 00:00:00 2001 From: liduo Date: Wed, 20 Aug 2025 15:45:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Did=5Fdefined=E7=BC=BA?= =?UTF-8?q?=E5=B0=91type=E5=AD=97=E6=AE=B5=E4=B8=8D=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liduo --- 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