Re: [PATCH] util: switch virBufferTrim to void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]