summaryrefslogtreecommitdiff
path: root/platform/android/src/http_request_android.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/http_request_android.cpp')
-rw-r--r--platform/android/src/http_request_android.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/src/http_request_android.cpp b/platform/android/src/http_request_android.cpp
index a3803ee11d..a6e00ff2b5 100644
--- a/platform/android/src/http_request_android.cpp
+++ b/platform/android/src/http_request_android.cpp
@@ -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());