From 2be7b7f00444b3350e195e56fdffec631ddf262a Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Wed, 28 Jun 2023 10:20:54 +0800 Subject: [PATCH] fix coverity issue --- source/common/src/ttime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/src/ttime.c b/source/common/src/ttime.c index d8c43747f7..7a5581efbe 100644 --- a/source/common/src/ttime.c +++ b/source/common/src/ttime.c @@ -969,7 +969,7 @@ void taosFormatUtcTime(char* buf, int32_t bufLen, int64_t t, int32_t precision) default: fractionLen = 0; - ASSERT(false); + return; } if (taosLocalTime(", &ptm, buf) == NULL) {