* fix warning to get really all preflets compilable

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38204 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2010-08-17 18:03:12 +00:00
parent 8f62243f37
commit f3e4c16e4c
+1 -1
View File
@@ -509,7 +509,7 @@ JoyWin::_SelectDeselectJoystick(BListView* list, bool enable)
int32
JoyWin::_FindStringItemInList(BListView *view, PortItem *item)
{
PortItem *strItem;
PortItem *strItem = NULL;
int32 number = view->CountItems();
for (int32 i = 0; i < number; i++) {
strItem = dynamic_cast<PortItem*>(view->ItemAt(i));