Skip to content

Commit 419cb57

Browse files
committed
Dropped an outdated TODO comment
The isempty check has already been deduplicated. Deduplicating this more starts to code smell.
1 parent 421271a commit 419cb57

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lfs3.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10955,7 +10955,6 @@ int lfs3_rename(lfs3_t *lfs3, const char *old_path, const char *new_path) {
1095510955
// if our destination is a directory, we will be implicitly removing
1095610956
// the directory, we need to create a grm for this
1095710957
if (new_tag == LFS3_TAG_DIR) {
10958-
// TODO deduplicate the isempty check with lfs3_remove?
1095910958
// first lets figure out the did
1096010959
lfs3_data_t data_;
1096110960
lfs3_stag_t tag_ = lfs3_mdir_lookup(lfs3, &new_mdir, LFS3_TAG_DID,

0 commit comments

Comments
 (0)