From 6cc777b1f6aaf7e9111fce6885b7f12b4684267f Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Fri, 28 Jan 2022 14:48:36 +0800 Subject: [PATCH] back compatibility fix for .current --- src/tsdb/src/tsdbFS.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsdb/src/tsdbFS.c b/src/tsdb/src/tsdbFS.c index e8b39cef8d..8929ef6f0f 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 -- GitLab