mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
make clang-tidy happy (old versions of clang tidy don't understand some NOLINT comments)
This commit is contained in:
parent
9644d46dac
commit
30df12670f
@ -45,7 +45,7 @@ target_link_libraries(webfuse_static PUBLIC PkgConfig::FUSE PkgConfig::LWS)
|
||||
if(NOT(WITHOUT_CLANG_TIDY))
|
||||
set_property(
|
||||
TARGET webfuse_static
|
||||
PROPERTY CXX_CLANG_TIDY clang-tidy -checks=readability-*,-readability-identifier-length -warnings-as-errors=*)
|
||||
PROPERTY CXX_CLANG_TIDY clang-tidy -checks=readability-*,-readability-identifier-length,-readability-magic-numbers -warnings-as-errors=*)
|
||||
endif()
|
||||
|
||||
|
||||
|
@ -126,7 +126,7 @@ public:
|
||||
info.options = LWS_SERVER_OPTION_EXPLICIT_VHOSTS;
|
||||
|
||||
data.handler = handler;
|
||||
data.connection_listener = [](bool){ };
|
||||
data.connection_listener = [](bool /*unused*/){ };
|
||||
data.connection = nullptr;
|
||||
|
||||
context = lws_create_context(&info);
|
||||
|
Loading…
Reference in New Issue
Block a user