[gvfs] daemon: Remove unused code
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] daemon: Remove unused code
- Date: Mon, 15 Aug 2011 12:08:49 +0000 (UTC)
commit aac7f64a901ea4ef456fdfebcd7cbce18c998550
Author: Tomas Bzatek <tbzatek redhat com>
Date: Mon Aug 15 14:08:24 2011 +0200
daemon: Remove unused code
common/gvfsdaemonprotocol.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/common/gvfsdaemonprotocol.c b/common/gvfsdaemonprotocol.c
index e38b963..ebcdaa4 100644
--- a/common/gvfsdaemonprotocol.c
+++ b/common/gvfsdaemonprotocol.c
@@ -190,7 +190,6 @@ _g_dbus_append_file_attribute (DBusMessageIter *iter,
{
DBusMessageIter variant_iter, inner_struct_iter;
const char *dbus_type;
- GObject *obj = NULL;
guint32 dbus_status;
dbus_type = _g_dbus_type_from_file_attribute_type (type);
@@ -256,9 +255,6 @@ _g_dbus_append_file_attribute (DBusMessageIter *iter,
_g_dbus_oom ();
}
- if (obj)
- g_object_unref (obj);
-
if (!dbus_message_iter_close_container (&inner_struct_iter, &variant_iter))
_g_dbus_oom ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]