unused param

This commit is contained in:
Jan Boon 2024-03-30 02:41:28 +08:00
parent 8ab1a17251
commit 0d2213678c

View file

@ -3377,7 +3377,7 @@ int main(int argc, char ** argv) {
}
};
const auto handle_slots_erase = [&ctx_server, &res_error](const httplib::Request & req, httplib::Response & res, int id_slot) {
const auto handle_slots_erase = [&ctx_server, &res_error](const httplib::Request & /* req */, httplib::Response & res, int id_slot) {
server_task task;
task.type = SERVER_TASK_TYPE_SLOT_ERASE;
task.data = {