Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] #3539 - silence warning about unused param message that was…
Browse files Browse the repository at this point in the history
… breaking our build on CI
  • Loading branch information
tobrun committed Jan 14, 2016
1 parent 4f08ef1 commit 5d9485e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform/android/src/http_request_android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ void HTTPAndroidRequest::onResponse(int code, std::string message, std::string e
response = std::make_unique<Response>();
using Error = Response::Error;

// the message param is unused, this generates a warning at build time
// this was breaking builds for `make android -j4`
(void)message;
response->modified = Seconds(parse_date(modified.c_str()));
response->etag = etag;
response->expires = parseCacheControl(cacheControl.c_str());
Expand Down

0 comments on commit 5d9485e

Please sign in to comment.