Fix CID-4185 (expression can't be true):
* drop superfluous checking of uint32 < 0 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39946 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -518,7 +518,7 @@ TDateEdit::DrawSection(uint32 index, bool hasFocus)
|
|||||||
void
|
void
|
||||||
TDateEdit::DrawSeparator(uint32 index)
|
TDateEdit::DrawSeparator(uint32 index)
|
||||||
{
|
{
|
||||||
if (index < 0 || index >= 2)
|
if (index >= 2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
TSection* section = static_cast<TSection*>(fSectionList->ItemAt(index));
|
TSection* section = static_cast<TSection*>(fSectionList->ItemAt(index));
|
||||||
|
|||||||
Reference in New Issue
Block a user