address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10082 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -45,7 +45,7 @@ FileTypeWindow::~FileTypeWindow()
|
|||||||
{
|
{
|
||||||
if (fEntryList != 0) {
|
if (fEntryList != 0) {
|
||||||
for (int32 i = 0 ; (i < fEntryList->CountItems()) ; i++) {
|
for (int32 i = 0 ; (i < fEntryList->CountItems()) ; i++) {
|
||||||
delete fEntryList->ItemAt(i);
|
delete static_cast<BEntry*>(fEntryList->ItemAt(i));
|
||||||
}
|
}
|
||||||
fEntryList->MakeEmpty();
|
fEntryList->MakeEmpty();
|
||||||
delete fEntryList;
|
delete fEntryList;
|
||||||
|
|||||||
@@ -231,6 +231,8 @@ TerminalWindow::InitWindow(int32 id, entry_ref * settingsRef)
|
|||||||
fLogToFilePanel = 0;
|
fLogToFilePanel = 0;
|
||||||
fWriteSelectionPanel = 0;
|
fWriteSelectionPanel = 0;
|
||||||
fSaveAsSettingsFilePanel = 0;
|
fSaveAsSettingsFilePanel = 0;
|
||||||
|
|
||||||
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
|
|||||||
Reference in New Issue
Block a user