[td-10564]Suppress the compiler warnings.

This commit is contained in:
Haojun Liao 2021-10-27 17:30:13 +08:00
parent c3f4d74f9b
commit d12503e6dc
1 changed files with 2 additions and 1 deletions

View File

@ -110,7 +110,8 @@ static SQueryPlanNode* createQueryNode(int32_t type, const char* name, SQueryPla
pNode->numOfOutput = numOfOutput;
pNode->pExpr = calloc(numOfOutput, sizeof(SExprInfo));
for(int32_t i = 0; i < numOfOutput; ++i) {
assignExprInfo(&pNode->pExpr[i], pExpr[i]);
SExprInfo* pExprInfo = taosArrayGet(pNode->pExpr, i);
assignExprInfo(pExprInfo, pExpr[i]);
}
pNode->pPrevNodes = taosArrayInit(4, POINTER_BYTES);