mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: remove ATTRIBUTE_UNUSED in connectGetType
This is not needed here, since the conn parameter is used in the ACL
checking calls, which were introduced in abf75aea2.
This commit is contained in:
committed by
Cole Robinson
parent
126e630e85
commit
9055faebd4
@@ -1228,7 +1228,7 @@ qemuConnectSupportsFeature(virConnectPtr conn, int feature)
|
||||
}
|
||||
}
|
||||
|
||||
static const char *qemuConnectGetType(virConnectPtr conn ATTRIBUTE_UNUSED) {
|
||||
static const char *qemuConnectGetType(virConnectPtr conn) {
|
||||
if (virConnectGetTypeEnsureACL(conn) < 0)
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user