Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix Coverity ID 700887 Uninitialized scalar field
In ParentalLevelChangeCheckerPrivate::ParentalLevelChangeCheckerPrivate():
Several scalar fields are not initialized by the constructor.
  • Loading branch information
Paul Harrison committed Jun 2, 2013
1 parent 8fa65f7 commit 8e4d415
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythmetadata/parentalcontrols.cpp
Expand Up @@ -220,6 +220,8 @@ class ParentalLevelChangeCheckerPrivate : public QObject
gCoreContext->GetSetting("VideoAdminPasswordTwo"));

m_passwordOK = false;
m_fromLevel = ParentalLevel::plNone;
m_toLevel = ParentalLevel::plNone;
}

void Check(ParentalLevel::Level fromLevel, ParentalLevel::Level toLevel)
Expand Down

0 comments on commit 8e4d415

Please sign in to comment.