From 5d9485e02e7bc6cd9af0f67c082a1f5fe1e73f29 Mon Sep 17 00:00:00 2001 From: Tobrun Date: Thu, 14 Jan 2016 11:10:45 +0100 Subject: [android] #3539 - silence warning about unused param message that was breaking our build on CI --- platform/android/src/http_request_android.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'platform/android') 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(); 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()); -- cgit v1.2.1