Skip to content

Commit

Permalink
Fix Coverity 746871 (remove a no-longer-used field) and 746794.
Browse files Browse the repository at this point in the history
  • Loading branch information
stichnot committed May 30, 2013
1 parent 6b4f181 commit 746ca44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/videosource.cpp
Expand Up @@ -135,7 +135,7 @@ class InstanceCount : public TransSpinBoxSetting
"programs on a multiplex, if this is set to a value greater "
"than one MythTV can sometimes take advantage of this."));
uint cnt = parent.GetInstanceCount();
cnt = (!cnt) ? kDefaultMultirecCount : ((cnt < 1) ? 1 : cnt);
cnt = (!cnt) ? kDefaultMultirecCount : cnt;
setValue(cnt);
};
};
Expand Down
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/videosource.h
Expand Up @@ -571,7 +571,9 @@ class DVBConfigurationGroup : public VerticalConfigurationGroup
DVBCardType *cardtype;
SignalTimeout *signal_timeout;
ChannelTimeout *channel_timeout;
#if 0
TransButtonSetting *buttonAnalog;
#endif
DVBTuningDelay *tuning_delay;
DiSEqCDevTree *diseqc_tree;
TransButtonSetting *diseqc_btn;
Expand Down

0 comments on commit 746ca44

Please sign in to comment.