diff --git a/src/util/src/tcache.c b/src/util/src/tcache.c index 6c20980e181a78f12a34328b430119938b685d91..434d88894b82582ca66e149ad6cab52fb1f63c4d 100644 --- a/src/util/src/tcache.c +++ b/src/util/src/tcache.c @@ -71,7 +71,7 @@ static pthread_once_t cacheThreadInit = PTHREAD_ONCE_INIT; static pthread_mutex_t guard = PTHREAD_MUTEX_INITIALIZER; static SArray* pCacheArrayList = NULL; -static void doInitRefreshThread() { +static void doInitRefreshThread(void) { pCacheArrayList = taosArrayInit(4, POINTER_BYTES); pthread_attr_t thattr;