This commit is contained in:
Shengliang Guan 2021-02-01 11:51:30 +08:00
parent 45f9177ec5
commit 6ca40de987
1 changed files with 9 additions and 0 deletions

View File

@ -21,6 +21,11 @@
#include "tfs.h"
#include "tfsint.h"
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-truncation"
#endif
typedef struct {
pthread_spinlock_t lock;
SFSMeta meta;
@ -593,3 +598,7 @@ void taosGetDisk() {
tsAvailTmpDirectorySpace = (float)(diskSize.avail / unit);
}
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif