提交 dc2d9431 编写于 作者: J John Ferlan

util: Remove NONNULL(1,3,4) from virTypedParamsFilter

The API checks each parameter for NULL anyway and would error, so need
to add NONNULL on prototype.
上级 3ae0e785
...@@ -79,8 +79,7 @@ virTypedParamsFilter(virTypedParameterPtr params, ...@@ -79,8 +79,7 @@ virTypedParamsFilter(virTypedParameterPtr params,
int nparams, int nparams,
const char *name, const char *name,
virTypedParameterPtr **ret) virTypedParameterPtr **ret)
ATTRIBUTE_RETURN_CHECK ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(3) ATTRIBUTE_RETURN_CHECK;
ATTRIBUTE_NONNULL(4);
int virTypedParameterAssign(virTypedParameterPtr param, const char *name, int virTypedParameterAssign(virTypedParameterPtr param, const char *name,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册