mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-18 17:24:42 -04:00
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user