diff --git a/src/id_defined_parser.cpp b/src/id_defined_parser.cpp index bf8520a094b7f00ed17e1a917b15e71c40221acb..490c742eb4dd36f377fdf9eccf21d930a2d49a9f 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; }