From c01f04a2095cdd102b8caba51770605a67480758 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Tue, 20 Jul 2021 18:31:11 +0800 Subject: [PATCH] [td-255]fix compiler error. --- src/util/src/tcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/src/tcache.c b/src/util/src/tcache.c index 6c20980e18..434d88894b 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; -- GitLab