[libvirt] [PATCH] util: switch virBufferTrim to void

Michal Privoznik mprivozn at redhat.com
Wed Jun 19 13:09:54 UTC 2013


On 19.06.2013 09:50, Ján Tomko wrote:
> We don't care whether the trim was succesful or not anywhere
> except the tests.
> 
> Switch it to void and set the buffer error on wrong usage.
> ---
> Patch that tried to shut Coverity up by checking the return values anyway:
> https://www.redhat.com/archives/libvir-list/2013-June/msg00650.html
> 
>  src/util/virbuffer.c | 19 ++++++++++---------
>  src/util/virbuffer.h |  2 +-
>  tests/virbuftest.c   | 43 ++++++++++++++++---------------------------
>  tools/virsh.c        |  9 +++------
>  4 files changed, 30 insertions(+), 43 deletions(-)

ACK

Michal




More information about the libvir-list mailing list