The API checks each parameter for NULL anyway and would error, so need
to add NONNULL on prototype.
Signed-off-by: John Ferlan <jferlan(a)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