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:
parent
8b3a89c486
commit
cad913060c
@ -6475,7 +6475,11 @@ done:
|
|||||||
/*----------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------*/
|
||||||
|
|
||||||
static int
|
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
|
virConnectAuthPtr auth
|
||||||
#if !HAVE_SASL && !HAVE_POLKIT
|
#if !HAVE_SASL && !HAVE_POLKIT
|
||||||
ATTRIBUTE_UNUSED
|
ATTRIBUTE_UNUSED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user