提交 e13c551e 编写于 作者: P Peter Krempa

util: typedparam: Purge public bits from virTypedParamsGetStringList

The function is not exported in the public API thus the error
dispatching is not required.
Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 80c1d577
...@@ -514,8 +514,6 @@ virTypedParamsGetStringList(virTypedParameterPtr params, ...@@ -514,8 +514,6 @@ virTypedParamsGetStringList(virTypedParameterPtr params,
int nfiltered; int nfiltered;
virTypedParameterPtr *filtered = NULL; virTypedParameterPtr *filtered = NULL;
virResetLastError();
virCheckNonNullArgGoto(values, error); virCheckNonNullArgGoto(values, error);
*values = NULL; *values = NULL;
...@@ -540,7 +538,6 @@ virTypedParamsGetStringList(virTypedParameterPtr params, ...@@ -540,7 +538,6 @@ virTypedParamsGetStringList(virTypedParameterPtr params,
if (values) if (values)
VIR_FREE(*values); VIR_FREE(*values);
VIR_FREE(filtered); VIR_FREE(filtered);
virDispatchError(NULL);
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册