Fix more clang-tidy warnings

This commit is contained in:
Tobias Reisinger 2020-11-14 00:34:20 +01:00
parent 5747a65664
commit c7cafa94c4
21 changed files with 178 additions and 208 deletions
src/handlers

View file

@ -118,11 +118,9 @@ handle_http_request(struct mg_connection *nc, struct http_message *hm)
LOGGER_DEBUG("serving %.*s\n", hm->uri.len, hm->uri.p);
return;
}
else
{
LOGGER_DEBUG("serving 'not found'\n");
endpoint = router_get_not_found_endpoint();
}
LOGGER_DEBUG("serving 'not found'\n");
endpoint = router_get_not_found_endpoint();
}
if(endpoint->method == HTTP_METHOD_OPTIONS)