[SCM] kodi-pvr-hts/master: set a default logger implementation (fixes CID 12979: Uninitialized members (UNINIT_CTOR))

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Wed Mar 2 23:01:56 UTC 2016


The following commit has been merged in the master branch:
commit ae0e9f0c441da692a19e089866aab03d5c6bff3e
Author: Sam Stenvall <sam.stenvall at nordsoftware.com>
Date:   Fri Jan 8 11:59:45 2016 +0200

    set a default logger implementation (fixes CID 12979: Uninitialized members (UNINIT_CTOR))

diff --git a/src/tvheadend/utilities/Logger.cpp b/src/tvheadend/utilities/Logger.cpp
index 0dc0e0d..98e3175 100644
--- a/src/tvheadend/utilities/Logger.cpp
+++ b/src/tvheadend/utilities/Logger.cpp
@@ -27,7 +27,11 @@ using namespace tvheadend::utilities;
 
 Logger::Logger()
 {
+  // Use an empty implementation by default
+  SetImplementation([](LogLevel level, const char *message)
+  {
 
+  });
 }
 
 Logger &Logger::GetInstance()

-- 
kodi-pvr-hts packaging



More information about the pkg-multimedia-commits mailing list