address compiler warning

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10103 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty 2004-11-21 09:18:39 +00:00
parent a680194343
commit 84d943c246

View File

@ -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;