Add .clangd
This commit is contained in:
2
.clangd
Normal file
2
.clangd
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
CompileFlags:
|
||||||
|
Add: [-Wno-vla-cxx-extension, -UNDEBUG]
|
||||||
@@ -161,7 +161,7 @@ struct Connection {
|
|||||||
// response
|
// response
|
||||||
bool closeConnection{false};
|
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
|
// Use Variable Length Array for optimal stack allocation
|
||||||
char buf[buffer_size];
|
char buf[buffer_size];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user