Skip to content

Commit

Permalink
CustomPriority: fix coverity ID 746878 Uninitialized pointer field
Browse files Browse the repository at this point in the history
In CustomPriority::CustomPriority(): Several fields are not initialized
in the constructor.
  • Loading branch information
Paul Harrison committed Jun 12, 2013
1 parent 7b1a099 commit 5d8c712
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mythtv/programs/mythfrontend/custompriority.cpp
Expand Up @@ -27,7 +27,12 @@
#include "viewschedulediff.h"

CustomPriority::CustomPriority(MythScreenStack *parent, ProgramInfo *proginfo)
: MythScreenType(parent, "CustomPriority")
: MythScreenType(parent, "CustomPriority"),
m_ruleList(NULL), m_clauseList(NULL),
m_titleEdit(NULL), m_descriptionEdit(NULL),
m_prioritySpin(NULL), m_addButton(NULL),
m_testButton(NULL), m_installButton(NULL),
m_deleteButton(NULL), m_cancelButton(NULL)
{
if (proginfo)
m_pginfo = new ProgramInfo(*proginfo);
Expand Down

0 comments on commit 5d8c712

Please sign in to comment.