On 06/19/2013 03:09 PM, Michal Privoznik wrote:
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
Thank you, I've pushed it now.
Jan