[nautilus] file: Remove unused variable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file: Remove unused variable
- Date: Fri, 21 Nov 2014 13:11:12 +0000 (UTC)
commit 9992b0917263e47aff9c0182f965ae93c1a9ac63
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Nov 19 19:16:34 2014 +0100
file: Remove unused variable
Fallout from 37be3809bc0d25d28298b38bc0b893a6fd3a665f
https://bugzilla.gnome.org/show_bug.cgi?id=740383
libnautilus-private/nautilus-file.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index a22fded..5957dc6 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -1715,7 +1715,6 @@ rename_get_info_callback (GObject *source_object,
NautilusFileOperation *op;
NautilusDirectory *directory;
NautilusFile *existing_file;
- char *old_name;
char *old_uri;
char *new_uri;
const char *new_name;
@@ -1742,12 +1741,9 @@ rename_get_info_callback (GObject *source_object,
}
old_uri = nautilus_file_get_uri (op->file);
- old_name = g_strdup (eel_ref_str_peek (op->file->details->name));
update_info_and_name (op->file, new_info);
- g_free (old_name);
-
new_uri = nautilus_file_get_uri (op->file);
nautilus_directory_moved (old_uri, new_uri);
g_free (new_uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]