Skip to content

Commit

Permalink
cppcheck: Ignore "cast integer to address" warning in guidegrid.
Browse files Browse the repository at this point in the history
The GuideGrid::GetCurrentProgram function appears to be correctly
returing a ProgramInfo pointer.
  • Loading branch information
linuxdude42 committed Oct 2, 2020
1 parent 7c926ae commit b5ef3f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/programs/mythfrontend/guidegrid.h
Expand Up @@ -168,6 +168,7 @@ class GuideGrid : public ScheduleCommon, public JumpToChannelListener
int changrpid = -1);
~GuideGrid() override;
ProgramInfo *GetCurrentProgram(void) const override // ScheduleCommon
//cppcheck-suppress CastIntegerToAddressAtReturn
{ return m_programInfos[m_currentRow][m_currentCol]; };

private slots:
Expand Down

0 comments on commit b5ef3f8

Please sign in to comment.