diff --git a/src/tsdb/src/tsdbFS.c b/src/tsdb/src/tsdbFS.c index e8b39cef8d5926a2c1c3de24109625859c368ce9..8929ef6f0fa21bb5062d1d3cbfb7038a817df542 100644 --- a/src/tsdb/src/tsdbFS.c +++ b/src/tsdb/src/tsdbFS.c @@ -91,7 +91,7 @@ static int tsdbEncodeDFileSetArray(void **buf, SArray *pArray) { } static int tsdbDecodeDFileSetArray(void **originBuf, void *buf, SArray *pArray, SFSHeader *pSFSHeader) { - uint64_t nset; + uint64_t nset = 0; SDFileSet dset = {0}; dset.ver = TSDB_FSET_VER_0; // default value