提交 c2bff983 编写于 作者: G Ganlin Zhao

fix: coverity issues

CID: 399945
上级 aa4daf17
......@@ -948,8 +948,10 @@ 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;
return terrno;
} else {
terrno = TSDB_CODE_INVALID_PARA;
}
return terrno;
#else
TASSERT(0);
terrno = TSDB_CODE_INVALID_PARA;
......@@ -1361,4 +1363,4 @@ void tTSRowGetVal(STSRow *pRow, STSchema *pTSchema, int16_t iCol, SColVal *pColV
*pColVal = COL_VAL_VALUE(pTColumn->colId, pTColumn->type, value);
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册