Permalink
Browse files

AudioTest: also initialise m_button missed in 54328bd

There's a code path in the ctor where m_button could be left uninitialised and
that upsets Coverity. Refs ID 746876.
  • Loading branch information...
Paul Harrison
Paul Harrison committed Jun 12, 2013
1 parent b0b668d commit 25673fcfe5b859484a98a619f27b1b5033b44635
Showing with 3 additions and 3 deletions.
  1. +3 −3 mythtv/programs/mythfrontend/audiogeneralsettings.cpp
@@ -725,9 +725,9 @@ AudioTest::AudioTest(QString main, QString passthrough,
: VerticalConfigurationGroup(false, true, false, false),
m_frontleft(NULL), m_frontright(NULL), m_center(NULL),
m_surroundleft(NULL), m_surroundright(NULL),
m_rearleft(NULL), m_rearright(NULL), m_lfe(NULL), m_hd(NULL),
m_main(main), m_passthrough(passthrough), m_settings(settings),
m_quality(false)
m_rearleft(NULL), m_rearright(NULL), m_lfe(NULL), m_button(NULL),
m_hd(NULL), m_main(main), m_passthrough(passthrough),
m_settings(settings), m_quality(false)
{
m_channels = gCoreContext->GetNumSetting("TestingChannels", channels);
setLabel(QObject::tr("Audio Configuration Testing"));

0 comments on commit 25673fc

Please sign in to comment.