[libvirt] [PATCH] util: remove unnecessary needSize

Martin Kletzander mkletzan at redhat.com
Mon Nov 16 10:02:54 UTC 2015


On Sat, Nov 14, 2015 at 02:56:06PM +0800, Chen Hanxiao wrote:
>From: Chen Hanxiao <chenhanxiao at gmail.com>
>
>Use toadd->use directly.
>
>Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
>---
> src/util/virbuffer.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>

ACK, good catch.  Although I had to read the docs for virBufferGrow()
and the code as well to make sure that there's no pre-existing bug as
it might seem at first look.

I'll push it in a while.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151116/e1c71a58/attachment-0001.sig>


More information about the libvir-list mailing list