Merge pull request #218 from int19h/217

Fix #217: RequestContext::connection is unused
This commit is contained in:
Matthieu Gautier 2018-08-03 11:52:54 +02:00 committed by GitHub
commit d4d32aa2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -30,7 +30,6 @@ RequestContext::RequestContext(struct MHD_Connection* connection,
const std::string& _url,
const std::string& method,
const std::string& version) :
connection(connection),
full_url(_url),
url(_url),
valid_url(true),

View File

@ -85,7 +85,6 @@ class RequestContext {
int httpResponseCode;
private:
struct MHD_Connection* connection;
std::string full_url;
std::string url;
bool valid_url;