format file

This commit is contained in:
hzcheng 2020-03-05 06:08:28 +00:00
parent 52873e2294
commit db07abc851
1 changed files with 8 additions and 10 deletions

View File

@ -2,7 +2,6 @@
#include "tsdbCache.h" #include "tsdbCache.h"
STsdbCache *tsdbCreateCache(int32_t numOfBlocks) { STsdbCache *tsdbCreateCache(int32_t numOfBlocks) {
STsdbCache *pCacheHandle = (STsdbCache *)malloc(sizeof(STsdbCache)); STsdbCache *pCacheHandle = (STsdbCache *)malloc(sizeof(STsdbCache));
if (pCacheHandle == NULL) { if (pCacheHandle == NULL) {
@ -11,7 +10,6 @@ STsdbCache *tsdbCreateCache(int32_t numOfBlocks) {
} }
return pCacheHandle; return pCacheHandle;
} }
int32_t tsdbFreeCache(STsdbCache *pHandle) { return 0; } int32_t tsdbFreeCache(STsdbCache *pHandle) { return 0; }