Skip to content

Commit

Permalink
MHSlider: Fix Coverity ID 700820 Uninitialized scalar field
Browse files Browse the repository at this point in the history
In MHSlider::MHSlider(): Several scalar fields is not initialized by the
constructor.
  • Loading branch information
Paul Harrison committed Jun 15, 2013
1 parent a1955f6 commit e47c192
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythfreemheg/Visible.cpp
Expand Up @@ -625,6 +625,8 @@ MHSlider::MHSlider(): MHInteractible(this)
orig_min_value = initial_value = orig_step_size = 1;
initial_portion = 0;
m_style = SliderNormal;
max_value = min_value = step_size = 0;
slider_value = portion = 0;
}

MHSlider::~MHSlider()
Expand Down

0 comments on commit e47c192

Please sign in to comment.