summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2016-11-30 13:27:27 +0100
committerOndrej Holy <oholy@redhat.com>2016-12-12 08:33:23 +0100
commitaa32e74576a651202f483e88f2d4d78c7322e54d (patch)
tree94089c6de5158a1aeaf54def3f8b93ee5ac2f6be
parent584d2b21ea8bfd34117682c44daa6996c9a687ce (diff)
downloadgvfs-aa32e74576a651202f483e88f2d4d78c7322e54d.tar.gz
gdaemonfile: Remove dead code
The uri variable is just set, but never used. https://bugzilla.gnome.org/show_bug.cgi?id=747412
-rw-r--r--client/gdaemonfile.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index 52ae9dc2..ef9ea029 100644
--- a/client/gdaemonfile.c
+++ b/client/gdaemonfile.c
@@ -2212,10 +2212,7 @@ query_info_fs_async_get_proxy_cb (GVfsDBusMount *proxy,
gpointer callback_data)
{
AsyncCallQueryFsInfo *data = callback_data;
- char *uri;
- uri = g_file_get_uri (data->file);
-
data->result = g_object_ref (result);
gvfs_dbus_mount_call_query_filesystem_info (proxy,
@@ -2225,8 +2222,6 @@ query_info_fs_async_get_proxy_cb (GVfsDBusMount *proxy,
(GAsyncReadyCallback) query_fs_info_async_cb,
data);
data->cancelled_tag = _g_dbus_async_subscribe_cancellable (connection, cancellable);
-
- g_free (uri);
}
static void