Fix -Wunused-parameter

This commit is contained in:
Alex Hultman
2020-12-01 01:10:00 +01:00
parent cb582461b9
commit ad1d6fac08
14 changed files with 61 additions and 58 deletions
+2 -2
View File
@@ -21,9 +21,9 @@ int main() {
.passphrase = "1234"
});
}).get("/*", [](auto *res, auto *req) {
}).get("/*", [](auto *res, auto */*req*/) {
res->end("Hello world!");
}).get("/exit", [](auto *res, auto *req) {
}).get("/exit", [](auto *res, auto */*req*/) {
res->end("Shutting down!");
/* We use this to check graceful closedown */
us_listen_socket_close(1, globalListenSocket);