From b6dbc462c8b5d8f41419ba0848d68f54bf95d872 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Sat, 26 Nov 2022 11:56:13 +0800 Subject: [PATCH] fix: compile error --- source/libs/sync/src/syncMain.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/libs/sync/src/syncMain.c b/source/libs/sync/src/syncMain.c index 74bc364bc6..d0fe16aaaa 100644 --- a/source/libs/sync/src/syncMain.c +++ b/source/libs/sync/src/syncMain.c @@ -2051,9 +2051,6 @@ static void syncNodeEqPeerHeartbeatTimer(void* param, void* tmrId) { // update reset time int64_t timerElapsed = tsNow - pSyncTimer->timeStamp; pSyncTimer->timeStamp = tsNow; - char logBuf[64]; - snprintf(logBuf, sizeof(logBuf), "timer-elapsed:%" PRId64 ", next-exec:%" PRId64, timerElapsed, - pData->execTime); // send msg syncLogSendHeartbeat(pSyncNode, pSyncMsg, false, timerElapsed, pData->execTime); -- GitLab