summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file-operations.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-file-operations.c')
-rw-r--r--libcaja-private/caja-file-operations.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c
index baaa8843..f9f8739a 100644
--- a/libcaja-private/caja-file-operations.c
+++ b/libcaja-private/caja-file-operations.c
@@ -4661,7 +4661,7 @@ move_file_prepare (CopyMoveJob *move_job,
GFile *dest, *new_dest;
GError *error;
CommonJob *job;
- gboolean overwrite, renamed;
+ gboolean overwrite;
char *primary, *secondary, *details;
int response;
GFileCopyFlags flags;
@@ -4669,7 +4669,6 @@ move_file_prepare (CopyMoveJob *move_job,
gboolean handled_invalid_filename;
overwrite = FALSE;
- renamed = FALSE;
handled_invalid_filename = *dest_fs_type != NULL;
job = (CommonJob *)move_job;
@@ -4817,7 +4816,6 @@ move_file_prepare (CopyMoveJob *move_job,
g_object_unref (dest);
dest = get_target_file_for_display_name (dest_dir,
response->new_name);
- renamed = TRUE;
conflict_response_data_free (response);
goto retry;
} else {
@@ -5341,8 +5339,6 @@ link_job (GIOSchedulerJob *io_job,
{
CopyMoveJob *job;
CommonJob *common;
- GList *copy_files;
- GArray *copy_positions;
GFile *src;
GdkPoint *point;
char *dest_fs_type;
@@ -5354,9 +5350,6 @@ link_job (GIOSchedulerJob *io_job,
common = &job->common;
common->io_job = io_job;
- copy_files = NULL;
- copy_positions = NULL;
-
dest_fs_type = NULL;
caja_progress_info_start (job->common.progress);