From f3e4c16e4cc518ce90d95e157f43a50ba69e7873 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Tue, 17 Aug 2010 18:03:12 +0000 Subject: [PATCH] * fix warning to get really all preflets compilable git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38204 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/joysticks/JoyWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preferences/joysticks/JoyWin.cpp b/src/preferences/joysticks/JoyWin.cpp index 3597f9e49e..f9a939eeb8 100644 --- a/src/preferences/joysticks/JoyWin.cpp +++ b/src/preferences/joysticks/JoyWin.cpp @@ -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(view->ItemAt(i));