Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change a dynamic cast for a static one. 'channel' can only be a DVBCh…
…annel object at this point so it's not necessary to do a dynamic cast. Coverity 700395
  • Loading branch information
stuartm committed Jun 6, 2013
1 parent 8cafd06 commit 409b279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/recorders/channelbase.cpp
Expand Up @@ -1154,7 +1154,7 @@ ChannelBase *ChannelBase::CreateChannel(
{
#ifdef USING_DVB
channel = new DVBChannel(genOpt.videodev, tvrec);
dynamic_cast<DVBChannel*>(channel)->SetSlowTuning(
static_cast<DVBChannel*>(channel)->SetSlowTuning(
dvbOpt.dvb_tuning_delay);
#endif
}
Expand Down

0 comments on commit 409b279

Please sign in to comment.