fix: solve a non-standard explicit type conversion

This commit is contained in:
Cary Xu 2022-06-09 16:26:30 +08:00
parent 4e30fac809
commit 8997f2cdc1
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ static void checkTSRow(const char **data, STSRow2 *row, STSchema *pTSchema) {
TEST(testCase, AllNormTest) {
int16_t nCols = 14;
STSRowBuilder rb = tsRowBuilderInit();
STSRowBuilder rb = {0};
STSRow2 *row = nullptr;
SArray *pArray = taosArrayInit(nCols, sizeof(SColVal));
EXPECT_NE(pArray, nullptr);