Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7216 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
67bce78b48
commit
5e36a68cb4
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user