[libvirt] [PATCH 12/19] util: virbuffer: Remove @dynamic from virBufferGetIndent

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


On Thu, Oct 24, 2019 at 03:56:30PM +0200, Peter Krempa wrote:
>After the conversion of all callers that would pass true as @dynamic to
>a different function we can remove the unused argument now.
>
>Additionally modify the return type to 'size_t' as indentation can't be
>negative and remove checks whether @buf is passed as it's caller's duty
>to do so.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c      |  2 +-
> src/conf/network_conf.c     |  2 +-
> src/util/virbuffer.c        | 12 +++---------
> src/util/virbuffer.h        |  4 ++--
> tests/testutilsqemuschema.c |  2 +-
> tests/virbuftest.c          | 12 ++++++------
> 6 files changed, 14 insertions(+), 20 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/bd93c9f4/attachment-0001.sig>


More information about the libvir-list mailing list