From: Stefan Berger Date: Fri, 26 Jul 2019 20:56:33 +0000 (-0400) Subject: conf: Remove ATTRIBUTE_NONNULL(2) from virDomainCheckDeviceChanges() X-Git-Tag: v5.6.0-rc1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0533b65529ef1e20ec9fe5fcef2b1b846421169;p=thirdparty%2Flibvirt.git 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: Stefan Berger Reviewed-by: John Ferlan Message-Id: <20190726205633.2041912-5-stefanb@linux.vnet.ibm.com> --- diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 285fa6c496..dc480bc7c5 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -3638,5 +3638,4 @@ bool virDomainGraphicsNeedsAutoRenderNode(const virDomainGraphicsDef *graphics); int -virDomainCheckDeviceChanges(virDomainDefPtr def, virDomainDefPtr newDef) - ATTRIBUTE_NONNULL(2); +virDomainCheckDeviceChanges(virDomainDefPtr def, virDomainDefPtr newDef);