[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libvir] [PATCH] Clean up a warning in remote_internal.c

After applying this patch, you can compile CVS libvirt with -Werror.


Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
Index: src/remote_internal.c
RCS file: /data/cvs/libvirt/src/remote_internal.c,v
retrieving revision 1.43
diff -u -r1.43 remote_internal.c
--- src/remote_internal.c	5 Dec 2007 21:31:07 -0000	1.43
+++ src/remote_internal.c	6 Dec 2007 11:22:21 -0000
@@ -2841,7 +2859,12 @@
 static int
 remoteAuthenticate (virConnectPtr conn, struct private_data *priv, int in_open,
-                    virConnectAuthPtr auth, const char *authtype)
+                    virConnectAuthPtr auth
+                    ATTRIBUTE_UNUSED
+                    ,
+                    const char *authtype)
     struct remote_auth_list_ret ret;
     int err, type = REMOTE_AUTH_NONE;

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]