mirror of https://gitee.com/openkylin/libvirt.git
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: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
80c1d57700
commit
e13c551e9f
|
@ -514,8 +514,6 @@ virTypedParamsGetStringList(virTypedParameterPtr params,
|
|||
int nfiltered;
|
||||
virTypedParameterPtr *filtered = NULL;
|
||||
|
||||
virResetLastError();
|
||||
|
||||
virCheckNonNullArgGoto(values, error);
|
||||
*values = NULL;
|
||||
|
||||
|
@ -540,7 +538,6 @@ virTypedParamsGetStringList(virTypedParameterPtr params,
|
|||
if (values)
|
||||
VIR_FREE(*values);
|
||||
VIR_FREE(filtered);
|
||||
virDispatchError(NULL);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue