]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Mark in_open parameter of remoteAuthenticate as unused when it's unused
authorMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 20 Apr 2010 18:28:00 +0000 (20:28 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 20 Apr 2010 18:35:23 +0000 (20:35 +0200)
Otherwise compiling with -Werror will fail.

src/remote/remote_driver.c

index e3df27b271953b7119cb152b972bd9416f3aaab0..c2b58e6b9a79d32ece30a0a2eb3d95392951bb30 100644 (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