mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 17:30:12 +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
|
bool CIcon::isIndexBased() const
|
||||||
{
|
{
|
||||||
return m_index >= 0 && m_index < CIcons::IconIsGenerated;
|
return m_index < CIcons::IconIsGenerated;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CIcon::isGenerated() const
|
bool CIcon::isGenerated() const
|
||||||
|
|||||||
Reference in New Issue
Block a user