address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10103 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a680194343
commit
84d943c246
@ -158,7 +158,7 @@ FileTypeApp::ArgvReceived(int32 argc, const char * argv[], const char * cwd)
|
||||
(strcmp(argv[i],"-help") == 0) ||
|
||||
(strcmp(argv[i],"--help") == 0)) {
|
||||
for (int32 i = 0 ; (i < entryList.CountItems()) ; i++) {
|
||||
delete entryList.ItemAt(i);
|
||||
delete static_cast<BEntry*>(entryList.ItemAt(i));
|
||||
}
|
||||
entryList.MakeEmpty();
|
||||
delete entry;
|
||||
|
Loading…
Reference in New Issue
Block a user