fix init ptr = NULL

This commit is contained in:
xiao-77 2024-11-12 17:44:53 +08:00
parent 9c24db5d03
commit 095ad14bc8
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ static int32_t walInitLock(SWal *pWal) {
}
int32_t walInitWriteFileForSkip(SWal *pWal) {
TdFilePtr pIdxTFile, pLogTFile;
TdFilePtr pIdxTFile = NULL, pLogTFile = NULL;
int64_t fileFirstVer = 0;
int32_t code = 0;