Tracker: Add comment in empty_trash about RemoveItemAt(0).

From review by Axel on the mailing lists.
This commit is contained in:
Augustin Cavalier
2025-02-07 12:43:36 -05:00
parent 43741b0b91
commit 855d7cef68
+1
View File
@@ -3022,6 +3022,7 @@ empty_trash(void*)
break;
srcList.RemoveItemAt(0);
// so that the list doesn't try to free the entry we added above
srcList.MakeEmpty();
// don't count trash directory itself