summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2015-09-09 14:45:53 +0200
committerOndrej Holy <oholy@redhat.com>2015-09-09 14:46:28 +0200
commitc690b5cf9e489f416a8b45eab56f92292013df7c (patch)
tree3989ced75c28f3f40b62e77013c5a02d3908d4ef
parentb88097b89c24cc802a504b45703bb499fc3c8f75 (diff)
downloadgvfs-c690b5cf9e489f416a8b45eab56f92292013df7c.tar.gz
Remove unused function to avoid warnings
Commit 59325df refactored daemon code a bit. Function do_name_acquired is no more needed. Remove this function to avoid following warnings: daemon-main.c:347:1: warning: ‘do_name_acquired’ defined but not used
-rw-r--r--daemon/daemon-main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/daemon/daemon-main.c b/daemon/daemon-main.c
index d72ea52c..dd7fdf8a 100644
--- a/daemon/daemon-main.c
+++ b/daemon/daemon-main.c
@@ -343,13 +343,6 @@ on_name_acquired (GDBusConnection *connection,
send_spawned (TRUE, NULL, 0, spawned_succeeded_cb, data);
}
-static gboolean
-do_name_acquired (gpointer user_data)
-{
- on_name_acquired (NULL, NULL, user_data);
- return FALSE;
-}
-
void
daemon_main (int argc,
char *argv[],