mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 10:25:36 +08:00
Result of comparison of unsigned enum expression >= 0 is always true
This commit is contained in:
@@ -41,7 +41,7 @@ namespace BlackMisc
|
||||
|
||||
bool CIcon::isIndexBased() const
|
||||
{
|
||||
return m_index >= 0 && m_index < CIcons::IconIsGenerated;
|
||||
return m_index < CIcons::IconIsGenerated;
|
||||
}
|
||||
|
||||
bool CIcon::isGenerated() const
|
||||
|
||||
Reference in New Issue
Block a user