diff options
-rw-r--r-- | src/mtp_util_fs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mtp_util_fs.c b/src/mtp_util_fs.c index f279045..a7ff32b 100644 --- a/src/mtp_util_fs.c +++ b/src/mtp_util_fs.c @@ -341,7 +341,6 @@ mtp_bool _util_copy_dir_children_recursive(const mtp_char *origpath, { DIR *dir = NULL; struct dirent *entry; - mtp_int32 retval = 0; mtp_char old_pathname[MTP_MAX_PATHNAME_SIZE + 1] = { 0 }; mtp_char new_pathname[MTP_MAX_PATHNAME_SIZE + 1] = { 0 }; struct stat entryinfo; @@ -475,7 +474,7 @@ mtp_bool _util_copy_dir_children_recursive(const mtp_char *origpath, } closedir(dir); - return (retval == 0) ? TRUE : FALSE; + return TRUE; } mtp_bool _util_file_move(const mtp_char *origpath, const mtp_char *newpath, |