diff options
author | Tobrun <tobrun@mapbox.com> | 2016-01-14 11:10:45 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2016-01-14 11:10:45 +0100 |
commit | 5d9485e02e7bc6cd9af0f67c082a1f5fe1e73f29 (patch) | |
tree | 6cd20634454c368709b34341a0b4452804f06b38 /platform | |
parent | 4f08ef150d8844f233e49805c30713b3e9070afc (diff) | |
download | qtlocation-mapboxgl-5d9485e02e7bc6cd9af0f67c082a1f5fe1e73f29.tar.gz |
[android] #3539 - silence warning about unused param message that was breaking our build on CI
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/src/http_request_android.cpp | 3 |
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()); |