提交 eb396051 编写于 作者: J Ján Tomko

Fix build with older libcurl

Add ATTRIBUTE_UNUSED marker to the unused timeout_ms option
in esxVI_MultiCURL_TimerCallback.

Introduced by commit 125007d3.
上级 a0f19e2f
...@@ -711,7 +711,8 @@ esxVI_MultiCURL_SocketCallback(CURL *handle ATTRIBUTE_UNUSED, ...@@ -711,7 +711,8 @@ esxVI_MultiCURL_SocketCallback(CURL *handle ATTRIBUTE_UNUSED,
static int static int
esxVI_MultiCURL_TimerCallback(CURLM *handle ATTRIBUTE_UNUSED, 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; esxVI_MultiCURL *multi = callback_opaque;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册