From d5f05c9cd69234d31e1f601d935cd85fc74e400c Mon Sep 17 00:00:00 2001 From: jinlj Date: Wed, 17 May 2023 18:58:00 +0800 Subject: [PATCH] Update main.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed: error C4716: “load_confile”: must return a value. --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 335515e..bbc33d1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -104,6 +104,8 @@ static int load_confile() { // first log here hlogi("%s version: %s", g_exec_path, hv_compile_version()); hlog_fsync(); + + return 0; } int main(int argc, char *argv[]) {