提交 80958284 编写于 作者: R Roman Bogorodskiy

util: fix build on non-Linux

Decorate unused arguments of the virNetDevGetMaster() stub
with ATTRIBUTE_UNUSED to fix build on systems where this
stub is used.
上级 0b785be4
......@@ -1017,7 +1017,8 @@ virNetDevGetMaster(const char *ifname, char **master)
int
virNetDevGetMaster(const char *ifname, char **master)
virNetDevGetMaster(const char *ifname ATTRIBUTE_UNUSED,
char **master ATTRIBUTE_UNUSED)
{
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("Unable to get device master from netlink on this platform"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册