refactor error code
This commit is contained in:
parent
26663153b5
commit
ac7e64f178
|
@ -358,7 +358,7 @@ int mainWindows(int argc, char **argv) {
|
||||||
|
|
||||||
#if defined(LINUX)
|
#if defined(LINUX)
|
||||||
if (global.memDbg) {
|
if (global.memDbg) {
|
||||||
int32_t code = taosMemoryDbgInit();
|
code = taosMemoryDbgInit();
|
||||||
if (code) {
|
if (code) {
|
||||||
printf("failed to init memory dbg, error:%s\n", tstrerror(code));
|
printf("failed to init memory dbg, error:%s\n", tstrerror(code));
|
||||||
return code;
|
return code;
|
||||||
|
|
Loading…
Reference in New Issue