Fix unused variable warnings

This commit is contained in:
Vinnie Falco
2017-06-22 10:27:45 -07:00
parent 58c976ea73
commit 8f4e7fd0a0
25 changed files with 54 additions and 51 deletions

View File

@@ -111,6 +111,8 @@ public:
beast::http::request<Body, Fields>&& req,
Send const& send) const
{
boost::ignore_unused(ep);
// Determine our action based on the method
switch(req.method())
{
@@ -219,6 +221,7 @@ private:
beast::http::request<Body, Fields> const& req,
boost::filesystem::path const& rel_path) const
{
boost::ignore_unused(rel_path);
beast::http::response<beast::http::string_body> res;
res.version = req.version;
res.result(beast::http::status::not_found);