Commit 9621ff9f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Fix uninitialized values

parent a087d5b8
......@@ -8,6 +8,8 @@
#include "ShowEpisode.h"
MediaLibrary::MediaLibrary()
: m_dbConnection( NULL )
, m_files( NULL )
{
}
......@@ -30,7 +32,7 @@ bool MediaLibrary::initialize(const std::string& dbPath)
}
const std::vector<IFile*>&MediaLibrary::files()
const std::vector<IFile*>& MediaLibrary::files()
{
if ( m_files == NULL )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment