[PATCH 02/22] util: typedparam: Purge public bits from virTypedParamsGetStringList

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The function is not exported in the public API thus the error
dispatching is not required.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/util/virtypedparam.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/util/virtypedparam.c b/src/util/virtypedparam.c
index 7abf0257ce..acf8c39602 100644
--- a/src/util/virtypedparam.c
+++ b/src/util/virtypedparam.c
@@ -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;
 }

-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux