[libvirt] [PATCH 17/22] util: Remove NONNULL(1, 3, 4) from virTypedParamsFilter
John Ferlan
jferlan at redhat.com
Wed Mar 22 14:21:30 UTC 2017
The API checks each parameter for NULL anyway and would error, so need
to add NONNULL on prototype.
Signed-off-by: John Ferlan <jferlan at redhat.com>
---
src/util/virtypedparam.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/util/virtypedparam.h b/src/util/virtypedparam.h
index 7ab143f..59d5fbc 100644
--- a/src/util/virtypedparam.h
+++ b/src/util/virtypedparam.h
@@ -79,8 +79,7 @@ virTypedParamsFilter(virTypedParameterPtr params,
int nparams,
const char *name,
virTypedParameterPtr **ret)
- ATTRIBUTE_RETURN_CHECK ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(3)
- ATTRIBUTE_NONNULL(4);
+ ATTRIBUTE_RETURN_CHECK;
int virTypedParameterAssign(virTypedParameterPtr param, const char *name,
--
2.9.3
More information about the libvir-list
mailing list