aboutsummaryrefslogtreecommitdiff
path: root/src/files.c
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-06-26 01:52:35 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-06-26 01:52:35 +0000
commit13ba408ef3316958b7cf9d5c1cdd3c222b1425ad (patch)
treeb309d2beeceae33966eec9a559c4e1d2599c1220 /src/files.c
parentb41654d159192ed8b97af8ab3fa7426c9e6443b6 (diff)
fixed -Wall and -Wextra warnings
Diffstat (limited to 'src/files.c')
-rw-r--r--src/files.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/files.c b/src/files.c
index 3e5df9f..38e87be 100644
--- a/src/files.c
+++ b/src/files.c
@@ -129,8 +129,6 @@ static int copy_at(int src_dir_fd, const char *src_path, int dst_dir_fd, const c
fprintf(stderr, "copy_at: unsupported file inode type\n");
}
-cleanup2:
- close(dst_fd);
cleanup1:
close(src_fd);
cleanup0: