Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
9621ff9f
Commit
9621ff9f
authored
May 11, 2014
by
Hugo Beauzée-Luyssen
Browse files
Fix uninitialized values
parent
a087d5b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MediaLibrary.cpp
View file @
9621ff9f
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment