Missing call to InitCheck() causing deadcode

CID 10803
This commit is contained in:
Philippe Saint-Pierre
2011-11-26 23:22:18 -05:00
parent 6ccf83a908
commit 20e36f6e64
@@ -437,6 +437,7 @@ FilePlaylistItem::_MoveIntoTrash(vector<entry_ref>* refs,
}
BDirectory trashDir(trashPath);
err = trashDir.InitCheck();
if (err != B_OK) {
fprintf(stderr, "failed to init BDirectory for %s: %s\n",
trashPath, strerror(err));