mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Remove impossible < 0 checks for size_t
This commit is contained in:
committed by
Jakub Melka
parent
6354e4cad1
commit
bbecbf6311
@ -1814,7 +1814,7 @@ void PDFDiffResultNavigator::setResult(const PDFDiffResult* diffResult)
|
||||
bool PDFDiffResultNavigator::isSelected() const
|
||||
{
|
||||
const size_t limit = getLimit();
|
||||
return m_currentIndex >= 0 && m_currentIndex < limit;
|
||||
return m_currentIndex < limit;
|
||||
}
|
||||
|
||||
bool PDFDiffResultNavigator::canGoNext() const
|
||||
|
Reference in New Issue
Block a user