fix coverity issue

This commit is contained in:
Ganlin Zhao 2023-06-28 10:20:54 +08:00
parent aa33384a41
commit 2be7b7f004
1 changed files with 1 additions and 1 deletions

View File

@ -969,7 +969,7 @@ void taosFormatUtcTime(char* buf, int32_t bufLen, int64_t t, int32_t precision)
default: default:
fractionLen = 0; fractionLen = 0;
ASSERT(false); return;
} }
if (taosLocalTime(&quot, &ptm, buf) == NULL) { if (taosLocalTime(&quot, &ptm, buf) == NULL) {