Add .clangd

This commit is contained in:
2025-08-19 12:23:27 -04:00
parent 91dcf04635
commit 499de3837a
2 changed files with 3 additions and 1 deletions

2
.clangd Normal file
View File

@@ -0,0 +1,2 @@
CompileFlags:
Add: [-Wno-vla-cxx-extension, -UNDEBUG]

View File

@@ -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];