mirror of https://gitee.com/openkylin/libvirt.git
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…
Reference in New Issue