[gvfs] Remove unused function to avoid warnings



commit c690b5cf9e489f416a8b45eab56f92292013df7c
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Sep 9 14:45:53 2015 +0200

    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

 daemon/daemon-main.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/daemon/daemon-main.c b/daemon/daemon-main.c
index d72ea52..dd7fdf8 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[],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]