[gvfs] gdaemonfile: Remove dead code
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] gdaemonfile: Remove dead code
- Date: Mon, 12 Dec 2016 07:39:01 +0000 (UTC)
commit aa32e74576a651202f483e88f2d4d78c7322e54d
Author: Ondrej Holy <oholy redhat com>
Date: Wed Nov 30 13:27:27 2016 +0100
gdaemonfile: Remove dead code
The uri variable is just set, but never used.
https://bugzilla.gnome.org/show_bug.cgi?id=747412
client/gdaemonfile.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index 52ae9dc..ef9ea02 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]