Skip to content

Commit

Permalink
SpinBoxSetting: Fix Coverity ID 746858 Uninitialized pointer field
Browse files Browse the repository at this point in the history
In SpinBoxSetting::SpinBoxSetting(): A pointer field is not initialized in
the constructor.
  • Loading branch information
Paul Harrison committed Jun 20, 2013
1 parent c754668 commit 2f32413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmyth/settings.cpp
Expand Up @@ -442,7 +442,7 @@ SpinBoxSetting::SpinBoxSetting(
Storage *_storage, int _min, int _max, int _step,
bool _allow_single_step, QString _special_value_text) :
BoundedIntegerSetting(_storage, _min, _max, _step),
spinbox(NULL), relayEnabled(true),
bxwidget(NULL), spinbox(NULL), relayEnabled(true),
sstep(_allow_single_step), svtext("")
{
if (!_special_value_text.isEmpty())
Expand Down

0 comments on commit 2f32413

Please sign in to comment.