aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Bolte <matthias.bolte@googlemail.com>2011-07-12 17:06:16 +0200
committerMatthias Bolte <matthias.bolte@googlemail.com>2011-07-12 17:06:16 +0200
commitb25345294201031656d4f0059153bc683182b5e4 (patch)
tree6e8f4f6eb0da7fc81dc2fb19e3f32b92786458a5 /src/rpc/virnetserver.c
parentFix build when using polkit0 (diff)
downloadlibvirt-b25345294201031656d4f0059153bc683182b5e4.tar.gz
libvirt-b25345294201031656d4f0059153bc683182b5e4.tar.bz2
libvirt-b25345294201031656d4f0059153bc683182b5e4.zip
rpc: Fix compile error due to potentially unused parameter
connectDBus is only used if HAVE_DBUS is set. Therefore mark it as potentially unused.
Diffstat (limited to 'src/rpc/virnetserver.c')
-rw-r--r--src/rpc/virnetserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c
index 94d46f60a..66edd11d5 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;