[libvirt] compiler warning about unused in_open parameter

Matthias Bolte matthias.bolte at googlemail.com
Tue Apr 20 18:57:23 UTC 2010


2010/4/20 Gustavo Morozowski <gustavomzw at gmail.com>:
> Hi,
>
> I am trying to build 0.8.0 for windows using Fedora 12 [1], the
> compile is breaking with the message -
>
> make[3]: Entering directory `/home/gustavo/Devel/libvirt-0.8.0/src'
>  CC     libvirt_driver_remote_la-remote_driver.lo
>
> cc1: warnings being treated as errors
> remote/remote_driver.c: In function 'remoteAuthenticate':
> remote/remote_driver.c:6478: error: unused parameter 'in_open'
> [-Wunused-parameter]
>
> It seems 'in_open' is not used when both SASL and POLKIT are disabled.
>
> Gustavo
>
> [1] https://www.redhat.com/archives/libvir-list/2010-March/msg00612.html
>

I noticed this problem this morning too, but hadn't have time to post
a patch for it yet. I'll do so now.

Matthias




More information about the libvir-list mailing list