1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

Mark in_open parameter of remoteAuthenticate as unused when it's unused

Otherwise compiling with -Werror will fail.
This commit is contained in:
Matthias Bolte 2010-04-20 20:28:00 +02:00
parent 8b3a89c486
commit cad913060c

View File

@ -6475,7 +6475,11 @@ done:
/*----------------------------------------------------------------------*/
static int
remoteAuthenticate (virConnectPtr conn, struct private_data *priv, int in_open,
remoteAuthenticate (virConnectPtr conn, struct private_data *priv, int in_open
#if !HAVE_SASL && !HAVE_POLKIT
ATTRIBUTE_UNUSED
#endif
,
virConnectAuthPtr auth
#if !HAVE_SASL && !HAVE_POLKIT
ATTRIBUTE_UNUSED