Permalink
Browse files

Initialise callbacks in MythUIHelperPrivate constructor. It was done …

…anyway a few moments later. Coverity
  • Loading branch information...
stuartm committed May 26, 2013
1 parent 92decfb commit c5852fabcc35255e62bdcb755cc73b24bf2cfaeb
Showing with 5 additions and 0 deletions.
  1. +5 −0 mythtv/libs/libmythui/mythuihelper.cpp
@@ -162,6 +162,11 @@ MythUIHelperPrivate::MythUIHelperPrivate(MythUIHelper *p)
screenSetup(false), m_imageThreadPool(new MThreadPool("MythUIHelper")),
parent(p), m_fontStretch(100)
{
callbacks.exec_program = NULL;
callbacks.exec_program_tv = NULL;
callbacks.configplugin = NULL;
callbacks.plugin = NULL;
callbacks.eject = NULL;
}
MythUIHelperPrivate::~MythUIHelperPrivate()

0 comments on commit c5852fa

Please sign in to comment.