From: Matthias Bolte Date: Tue, 12 Jul 2011 15:06:16 +0000 (+0200) Subject: rpc: Fix compile error due to potentially unused parameter X-Git-Tag: v0.9.4-rc1~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b25345294201031656d4f0059153bc683182b5e4;p=thirdparty%2Flibvirt.git rpc: Fix compile error due to potentially unused parameter connectDBus is only used if HAVE_DBUS is set. Therefore mark it as potentially unused. --- diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c index 94d46f60a1..66edd11d54 100644 --- a/src/rpc/virnetserver.c +++ b/src/rpc/virnetserver.c @@ -277,7 +277,7 @@ virNetServerPtr virNetServerNew(size_t min_workers, size_t max_workers, size_t max_clients, const char *mdnsGroupName, - bool connectDBus, + bool connectDBus ATTRIBUTE_UNUSED, virNetServerClientInitHook clientInitHook) { virNetServerPtr srv;