Re: [PATCH] Fix build with older libcurl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2014-10-08 9:15 GMT+02:00 Ján Tomko <jtomko@xxxxxxxxxx>:
> Add ATTRIBUTE_UNUSED marker to the unused timeout_ms option
> in esxVI_MultiCURL_TimerCallback.
>
> Introduced by commit 125007d.
> ---
> Pushed under the build breaker rule.
>
>  src/esx/esx_vi.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/esx/esx_vi.c b/src/esx/esx_vi.c
> index fcd2e70..b00d8e7 100644
> --- a/src/esx/esx_vi.c
> +++ b/src/esx/esx_vi.c
> @@ -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;

Ah, I probably didn't do final test with libcurl < 7.28.0 yesterday.
Sorry and thanks for fixing this.

-- 
Matthias Bolte
http://photron.blogspot.com

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]