Skip to content

Commit

Permalink
Silence coverity report.
Browse files Browse the repository at this point in the history
Coverity: "Unchecked return value (CHECKED_RETURN) check_return: Calling function "ChannelBase::IsInputAvailable(int, uint &) const" without checking return value (as is done elsewhere 5 out of 6 times)"
However, IsInputAvailable is here only used to calculate plexid_restriction

Coverity #1028692
  • Loading branch information
jyavenard committed Jul 12, 2013
1 parent c8c17ad commit 5175c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/recorders/channelbase.cpp
Expand Up @@ -248,7 +248,7 @@ uint ChannelBase::GetNextChannel(uint chanid, ChannelChangeDirection direction)
}

uint mplexid_restriction = 0;
IsInputAvailable(m_currentInputID, mplexid_restriction);
(void)IsInputAvailable(m_currentInputID, mplexid_restriction);

return ChannelUtil::GetNextChannel(
m_allchannels, chanid, mplexid_restriction, direction);
Expand Down

0 comments on commit 5175c40

Please sign in to comment.