mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 15:29:29 +00:00
Fix two new compiler warnings
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user