[gvfs/wip/oholy/gtask: 1/18] gdaemonfile: Remove dead code
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/oholy/gtask: 1/18] gdaemonfile: Remove dead code
- Date: Wed, 30 Nov 2016 12:45:14 +0000 (UTC)
commit d4ab71d79feb87287a162ffda5ad5936e39f8c13
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]