From dffdbb53f69aadafaf52b633775ac6c152107a68 Mon Sep 17 00:00:00 2001 From: kailixu Date: Mon, 24 Jul 2023 10:15:32 +0800 Subject: [PATCH] chore: code optimization --- source/os/src/osSysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/os/src/osSysinfo.c b/source/os/src/osSysinfo.c index a5b8af3e6e..5f73251e3b 100644 --- a/source/os/src/osSysinfo.c +++ b/source/os/src/osSysinfo.c @@ -968,7 +968,7 @@ int64_t taosGetOsUptime() { struct sysinfo info; if (0 == sysinfo(&info)) { return (int64_t)info.uptime * 1000; - }; + } #endif return 0; } -- GitLab