提交 6ca40de9 编写于 作者: S Shengliang Guan

TD-1207

上级 45f9177e
...@@ -21,6 +21,11 @@ ...@@ -21,6 +21,11 @@
#include "tfs.h" #include "tfs.h"
#include "tfsint.h" #include "tfsint.h"
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-truncation"
#endif
typedef struct { typedef struct {
pthread_spinlock_t lock; pthread_spinlock_t lock;
SFSMeta meta; SFSMeta meta;
...@@ -593,3 +598,7 @@ void taosGetDisk() { ...@@ -593,3 +598,7 @@ void taosGetDisk() {
tsAvailTmpDirectorySpace = (float)(diskSize.avail / unit); tsAvailTmpDirectorySpace = (float)(diskSize.avail / unit);
} }
} }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册