Revert "fix: coverity issues"

This reverts commit c2bff98311.
This commit is contained in:
Ganlin Zhao 2022-10-25 09:43:25 +08:00
parent 35b78f596e
commit 78d3a32f50
1 changed files with 2 additions and 4 deletions

View File

@ -948,10 +948,8 @@ int32_t tdAppendColValToRow(SRowBuilder *pBuilder, col_id_t colId, int8_t colTyp
#ifdef TD_SUPPORT_BITMAP
if (valType == TD_VTYPE_NORM) {
terrno = TSDB_CODE_INVALID_PTR;
} else {
terrno = TSDB_CODE_INVALID_PARA;
return terrno;
}
return terrno;
#else
TASSERT(0);
terrno = TSDB_CODE_INVALID_PARA;
@ -1363,4 +1361,4 @@ void tTSRowGetVal(STSRow *pRow, STSchema *pTSchema, int16_t iCol, SColVal *pColV
*pColVal = COL_VAL_VALUE(pTColumn->colId, pTColumn->type, value);
}
}
}