Permalink
Browse files

VolumeBase: Fix Coverity ID 700796 Uninitialized scalar field

In VolumeBase::VolumeBase(): channels field is not initialized by the
constructor.
  • Loading branch information...
Paul Harrison
Paul Harrison committed Jun 9, 2013
1 parent 392de2f commit 7ffae0d38a3b87dfce2a0a14201247dabe324874
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/audio/volumebase.cpp
@@ -10,7 +10,7 @@ using namespace std;
#include "mythcorecontext.h"
VolumeBase::VolumeBase() :
volume(80), current_mute_state(kMuteOff)
volume(80), current_mute_state(kMuteOff), channels(0)
{
internal_vol = gCoreContext->GetNumSetting("MythControlsVolume", 1);
swvol = swvol_setting =

0 comments on commit 7ffae0d

Please sign in to comment.