From 9b24082d313a381949df9052f9c522f394b9f630 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 4 Dec 2024 13:35:17 +0800 Subject: [PATCH] Replace unsafe memory functions with safe versions --- source/util/src/tversion.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/util/src/tversion.c b/source/util/src/tversion.c index 8978ae6b66..1a8d8f2d23 100644 --- a/source/util/src/tversion.c +++ b/source/util/src/tversion.c @@ -36,7 +36,6 @@ int32_t taosVersionStrToInt(const char *vstr, int32_t *vint) { if (code != 0) { return code; } - // vnum[vpos] = atoi(tmp); memset(tmp, 0, sizeof(tmp)); vpos++; tpos = spos + 1;