[libvirt] [PATCH 06/19] util: buffer: Don't treat missing truncation in virBufferTrim as usage error

Ján Tomko jtomko at redhat.com
Thu Oct 24 14:26:26 UTC 2019


On Thu, Oct 24, 2019 at 03:56:24PM +0200, Peter Krempa wrote:
>Usage errors in the virBuffer are hard to track anyways. Just trim
>noting if the user requests the trimming string to be used without
>providing it.
>
>The change in the test proves that it's a noop now.

no-op

>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/virbuffer.c | 6 +-----
> tests/virbuftest.c   | 7 +------
> 2 files changed, 2 insertions(+), 11 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: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191024/4e4c5182/attachment-0001.sig>


More information about the libvir-list mailing list