From 28a58b12fb88ca61296be72ec2c57a7883fec363 Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Mon, 15 Nov 2021 11:17:09 +0800 Subject: [PATCH] fix centos7 build error --- src/plugins/monitor/src/monMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/monitor/src/monMain.c b/src/plugins/monitor/src/monMain.c index f8ba12cc21..06071e49b1 100644 --- a/src/plugins/monitor/src/monMain.c +++ b/src/plugins/monitor/src/monMain.c @@ -162,7 +162,7 @@ typedef struct { static void *monHttpStatusHashTable; static SMonConn tsMonitor = {0}; -static SMonStat tsMonStat = {0}; +static SMonStat tsMonStat = {{0}}; static int32_t monQueryReqNum = 0, monSubmitReqNum = 0; static bool monHasMnodeMaster = false; -- GitLab