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