提交 9055faeb 编写于 作者: F Fabian Freyer 提交者: Cole Robinson

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 abf75aea.
上级 126e630e
...@@ -1228,7 +1228,7 @@ qemuConnectSupportsFeature(virConnectPtr conn, int feature) ...@@ -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) if (virConnectGetTypeEnsureACL(conn) < 0)
return NULL; return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册