mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00: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:
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user