From cad913060c43b1377fc071e7ac703a7a84da682e Mon Sep 17 00:00:00 2001 From: Matthias Bolte Date: Tue, 20 Apr 2010 20:28:00 +0200 Subject: [PATCH] Mark in_open parameter of remoteAuthenticate as unused when it's unused Otherwise compiling with -Werror will fail. --- src/remote/remote_driver.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index e3df27b271..c2b58e6b9a 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -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 -- 2.47.2