Skip to content

Commit

Permalink
cppcheck: Don't check for unsigned less than zero in zmplayer.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Oct 2, 2020
1 parent b282281 commit 11e1e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mythzoneminder/mythzoneminder/zmplayer.cpp
Expand Up @@ -329,7 +329,7 @@ void ZMPlayer::prevPressed()
if (m_eventList->empty())
return;

if (*m_currentEvent <= 0)
if (*m_currentEvent == 0)
return;

if (*m_currentEvent > m_eventList->size())
Expand Down

0 comments on commit 11e1e25

Please sign in to comment.