From fe4dca9b1e8d617b8976dbb141b71751ad4ac6b3 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Mon, 10 Apr 2023 14:09:39 +0800 Subject: [PATCH] more code --- source/dnode/vnode/src/tsdb/dev/tsdbFS.c | 1 + source/dnode/vnode/src/tsdb/dev/tsdbFile.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnode/vnode/src/tsdb/dev/tsdbFS.c b/source/dnode/vnode/src/tsdb/dev/tsdbFS.c index 1e7f2538b9..2f29e9357a 100644 --- a/source/dnode/vnode/src/tsdb/dev/tsdbFS.c +++ b/source/dnode/vnode/src/tsdb/dev/tsdbFS.c @@ -60,6 +60,7 @@ static int32_t get_current_temp(STsdb *pTsdb, char fname[], EFsEditType etype) { } static int32_t save_fs_to_file(struct STFileSystem *pFS, const char *fname) { + cJSON *pJson = NULL; ASSERTS(0, "TODO: Not implemented yet"); return 0; } diff --git a/source/dnode/vnode/src/tsdb/dev/tsdbFile.h b/source/dnode/vnode/src/tsdb/dev/tsdbFile.h index 74509ec169..400dd460ad 100644 --- a/source/dnode/vnode/src/tsdb/dev/tsdbFile.h +++ b/source/dnode/vnode/src/tsdb/dev/tsdbFile.h @@ -31,7 +31,6 @@ typedef enum { TSDB_FTYPE_DATA, // .data TSDB_FTYPE_SMA, // .sma TSDB_FTYPE_TOMB, // .tomb - TSDB_FTYPE_MAX, // max file type TSDB_FTYPE_STT, // .stt } tsdb_ftype_t; -- GitLab