mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
rpc: Fix compile error due to potentially unused parameter
connectDBus is only used if HAVE_DBUS is set. Therefore mark it as potentially unused.
This commit is contained in:
parent
b8adfcc60c
commit
b253452942
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user