diff --git a/src/tsdb/src/tsdbSync.c b/src/tsdb/src/tsdbSync.c index 0e01cf37bb264b1d2eb36b7332e2ebea28edfce9..834ed8b5a8fdd8695e299d5e4947780dfa5dad83 100644 --- a/src/tsdb/src/tsdbSync.c +++ b/src/tsdb/src/tsdbSync.c @@ -457,7 +457,7 @@ static int32_t tsdbSyncRecvDFileSetArray(SSyncH *pSynch) { // Create local files and copy from remote SDiskID did; - SDFileSet fset; + SDFileSet fset = {0}; tfsAllocDisk(fidLevel, &(did.level), &(did.id)); if (did.level == TFS_UNDECIDED_LEVEL) {