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

Fix uninitialized values

parent a087d5b8
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#include "ShowEpisode.h" #include "ShowEpisode.h"
MediaLibrary::MediaLibrary() MediaLibrary::MediaLibrary()
: m_dbConnection( NULL )
, m_files( NULL )
{ {
} }
...@@ -30,7 +32,7 @@ bool MediaLibrary::initialize(const std::string& dbPath) ...@@ -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 ) if ( m_files == NULL )
{ {
......
Supports Markdown
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