refactor error code

This commit is contained in:
Yihao Deng 2024-07-18 05:29:35 +00:00
parent 26663153b5
commit ac7e64f178
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ int mainWindows(int argc, char **argv) {
#if defined(LINUX)
if (global.memDbg) {
int32_t code = taosMemoryDbgInit();
code = taosMemoryDbgInit();
if (code) {
printf("failed to init memory dbg, error:%s\n", tstrerror(code));
return code;