From 2119e270607b545328a26a40cb9202ef1e3c2239 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Thu, 17 Feb 2022 18:07:14 -0800 Subject: Make run() static clang correctly notes that this should be static, as it's not used outside the compile unit. Tested: code compiles with clang. Signed-off-by: Ed Tanous Change-Id: I7c540fe74b9fce1f3e498fb75089a143c7af4581 --- src/webserver_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp index b05161d316..6bdce98163 100644 --- a/src/webserver_main.cpp +++ b/src/webserver_main.cpp @@ -61,7 +61,7 @@ inline void setupSocket(crow::App& app) } } -int run() +static int run() { crow::Logger::setLogLevel(crow::LogLevel::Debug); -- cgit v1.2.3