提交 c0533b65 编写于 作者: S Stefan Berger 提交者: Eric Blake

conf: Remove ATTRIBUTE_NONNULL(2) from virDomainCheckDeviceChanges()

Since we are checking the 2nd parameter in the function for NULL,
we need to remove ATTRIBUTE_NONNULL(2) from the prototype.
Signed-off-by: NStefan Berger <stefanb@linux.ibm.com>
Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
Message-Id: <20190726205633.2041912-5-stefanb@linux.vnet.ibm.com>
上级 4f5fff87
......@@ -3638,5 +3638,4 @@ bool
virDomainGraphicsNeedsAutoRenderNode(const virDomainGraphicsDef *graphics);
int
virDomainCheckDeviceChanges(virDomainDefPtr def, virDomainDefPtr newDef)
ATTRIBUTE_NONNULL(2);
virDomainCheckDeviceChanges(virDomainDefPtr def, virDomainDefPtr newDef);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册