Skip to content

Commit

Permalink
LanguageSelection: fix Coverity ID 700798 Uninitialized pointer field
Browse files Browse the repository at this point in the history
In LanguageSelection::LanguageSelection(): Several pointer fields are not
initialized in the constructor.
  • Loading branch information
Paul Harrison committed Jun 2, 2013
1 parent 833ed3a commit 63f22f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmyth/langsettings.cpp
Expand Up @@ -22,6 +22,8 @@

LanguageSelection::LanguageSelection(MythScreenStack *parent, bool exitOnFinish)
:MythScreenType(parent, "LanguageSelection"),
m_languageList(NULL), m_countryList(NULL),
m_saveButton(NULL), m_cancelButton(NULL),
m_exitOnFinish(exitOnFinish), m_loaded(false)
{
m_language = gCoreContext->GetSetting("Language");
Expand Down

0 comments on commit 63f22f4

Please sign in to comment.