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

Eric Blake eblake at redhat.com
Fri Sep 21 19:14:10 UTC 2012


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 at redhat.com>
>> ---
>>  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 at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120921/7c0ce7a0/attachment-0001.sig>


More information about the libvir-list mailing list