From b873356d8033c04d249b038139ae2db0bac4fb3c Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Tue, 23 Jul 2024 16:35:46 +0800 Subject: [PATCH] fix:[TD-31017]process return value in client for tmq --- source/client/src/clientTmq.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/source/client/src/clientTmq.c b/source/client/src/clientTmq.c index 7fb39a424b..6a5d34e707 100644 --- a/source/client/src/clientTmq.c +++ b/source/client/src/clientTmq.c @@ -29,22 +29,6 @@ #define DEFAULT_HEARTBEAT_INTERVAL 3000 #define DEFAULT_ASKEP_INTERVAL 1000 -#define CLIENT_TMQ_NULL_CHECK(c) \ - do { \ - if (c == NULL) { \ - code = TSDB_CODE_OUT_OF_MEMORY; \ - goto END; \ - } \ - } while (0) - -#define CLIENT_TMQ_RETURN_CHECK(c) \ - do { \ - code = c; \ - if (code != 0) { \ - goto END; \ - } \ - } while (0) - struct SMqMgmt { tmr_h timer; int32_t rsetId;