Fix two new compiler warnings

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
Patrick McCarty
2016-03-07 14:23:18 -08:00
parent fd2e6b7628
commit 840206b585
+1 -1
View File
@@ -89,7 +89,7 @@ void swupd_curl_set_requested_version(int v)
req_version = v;
}
static size_t filesize_from_header_cb(void *func, size_t size, size_t nmemb, void *data)
static size_t filesize_from_header_cb(void UNUSED_PARAM *func, size_t size, size_t nmemb, void UNUSED_PARAM *data)
{
/* Drop the header, we just want file size */
return (size_t)(size * nmemb);