Fixed a warning.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7216 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Waldemar Kornewald 2004-04-15 16:19:53 +00:00
parent 67bce78b48
commit 5e36a68cb4

View File

@ -458,7 +458,7 @@ GeneralView::Reload()
{
fDeviceAddon = NULL;
BMenuItem *item;
BMenuItem *item = NULL;
for(int32 index = 0; index < fDeviceField->Menu()->CountItems(); index++) {
item = fDeviceField->Menu()->ItemAt(index);
if(item && item->Message() && item->Message()->FindPointer("Addon",