Author: zooey Date: 2010-08-17 20:03:12 +0200 (Tue, 17 Aug 2010) New Revision: 38204 Changeset: http://dev.haiku-os.org/changeset/38204 Modified: haiku/trunk/src/preferences/joysticks/JoyWin.cpp Log: * fix warning to get really all preflets compilable Modified: haiku/trunk/src/preferences/joysticks/JoyWin.cpp =================================================================== --- haiku/trunk/src/preferences/joysticks/JoyWin.cpp 2010-08-17 17:37:15 UTC (rev 38203) +++ haiku/trunk/src/preferences/joysticks/JoyWin.cpp 2010-08-17 18:03:12 UTC (rev 38204) @@ -509,7 +509,7 @@ 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));