diff --git a/.clangd b/.clangd new file mode 100644 index 0000000..02334e2 --- /dev/null +++ b/.clangd @@ -0,0 +1,2 @@ +CompileFlags: + Add: [-Wno-vla-cxx-extension, -UNDEBUG] diff --git a/src/main.cpp b/src/main.cpp index 1be207c..a4269a0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -161,7 +161,7 @@ struct Connection { // response bool closeConnection{false}; - bool readBytes(size_t max_request_size, size_t buffer_size) { + bool readBytes(size_t /*max_request_size*/, size_t buffer_size) { // Use Variable Length Array for optimal stack allocation char buf[buffer_size];