mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 18:03:32 +00:00
Fix build with older libcurl
Add ATTRIBUTE_UNUSED marker to the unused timeout_ms option
in esxVI_MultiCURL_TimerCallback.
Introduced by commit 125007d
.
This commit is contained in:
parent
a0f19e2f5b
commit
eb39605166
@ -711,7 +711,8 @@ esxVI_MultiCURL_SocketCallback(CURL *handle ATTRIBUTE_UNUSED,
|
||||
|
||||
static int
|
||||
esxVI_MultiCURL_TimerCallback(CURLM *handle ATTRIBUTE_UNUSED,
|
||||
long timeout_ms, void *callback_opaque)
|
||||
long timeout_ms ATTRIBUTE_UNUSED,
|
||||
void *callback_opaque)
|
||||
{
|
||||
esxVI_MultiCURL *multi = callback_opaque;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user