[libvirt] [python PATCH 4/4] libvirt_charPtrUnwrap: remove unnecessary check of returned string

Ján Tomko jtomko at redhat.com
Tue Jun 12 08:24:18 UTC 2018


On Tue, Jun 12, 2018 at 07:16:41AM +0200, Pavel Hrdina wrote:
>Function libvirt_charPtrUnwrap() either fails or always sets the
>unwrapped string so there is no need to check it explicitly.
>
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
>---
> libvirt-override.c | 12 ++++--------
> libvirt-utils.c    | 10 +++-------
> 2 files changed, 7 insertions(+), 15 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180612/873d0f65/attachment-0001.sig>


More information about the libvir-list mailing list