* 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:
@@ -509,7 +509,7 @@ JoyWin::_SelectDeselectJoystick(BListView* list, bool enable)
|
|||||||
int32
|
int32
|
||||||
JoyWin::_FindStringItemInList(BListView *view, PortItem *item)
|
JoyWin::_FindStringItemInList(BListView *view, PortItem *item)
|
||||||
{
|
{
|
||||||
PortItem *strItem;
|
PortItem *strItem = NULL;
|
||||||
int32 number = view->CountItems();
|
int32 number = view->CountItems();
|
||||||
for (int32 i = 0; i < number; i++) {
|
for (int32 i = 0; i < number; i++) {
|
||||||
strItem = dynamic_cast<PortItem*>(view->ItemAt(i));
|
strItem = dynamic_cast<PortItem*>(view->ItemAt(i));
|
||||||
|
|||||||
Reference in New Issue
Block a user