Merge branch 'warning_20240828' of https://gitee.com/zzdpy/ability_idl_tool into warning_20240828

Signed-off-by: zhangjidong <zhangjidong8@huawei.com>
This commit is contained in:
zhangjidong 2024-08-29 10:10:06 +08:00
commit 5cd1065cc6

View File

@ -573,7 +573,7 @@ AutoPtr<ASTType> Parser::ParseType()
AutoPtr<ASTArrayType> arrayType = new ASTArrayType();
if (arrayType == nullptr) {
LogError(token, String("arrayType is nullptr.");
LogError(token, String("arrayType is nullptr."));
return nullptr;
}
arrayType->SetElementType(type);