Re: [PATCH 01/12] Drop unused return value of virLogOutputFunc

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

 



On 09/21/2012 02:39 AM, Daniel P. Berrange wrote:
> On Thu, Sep 20, 2012 at 08:24:00PM +0200, Miloslav Trmač wrote:
>> Nothing uses the return value, and creating it requries otherwise
>> unnecessary strlen () calls.
>>
>> This cleanup is conceptually independent from the rest of the series
>> (although the later patches won't apply without it).  This just seems
>> a good opportunity to clean this up, instead of entrenching the unnecessary
>> return value in the virLogOutputFunc instance that will be added in this
>> series.
>>
>> Signed-off-by: Miloslav Trmač <mitr@xxxxxxxxxx>
>> ---
>>  src/util/logging.c | 56 +++++++++++++++++++++++++-----------------------------
>>  src/util/logging.h | 14 ++++++--------
>>  tests/testutils.c  |  5 ++---
>>  3 files changed, 34 insertions(+), 41 deletions(-)
> 
> ACK

I've pushed this one.  The rest of the series is big enough that it is
probably worth deferring to post-0.10.2 release.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]