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:
Oliver Tappe
2010-12-26 14:25:05 +00:00
parent 99f77939d9
commit 4a08647e39
+1 -1
View File
@@ -518,7 +518,7 @@ TDateEdit::DrawSection(uint32 index, bool hasFocus)
void
TDateEdit::DrawSeparator(uint32 index)
{
if (index < 0 || index >= 2)
if (index >= 2)
return;
TSection* section = static_cast<TSection*>(fSectionList->ItemAt(index));