Diff between 196e08df850f8b2771b1c6c38e5711ab33da7b02 and 042dee1b1fed5a745be4cca5af37ad8205421944

Changed Files

File Additions Deletions Status
obexd/src/manager.c +1 -2 modified

Full Patch

diff --git a/obexd/src/manager.c b/obexd/src/manager.c
index 42acd71..0abab9c 100644
--- a/obexd/src/manager.c
+++ b/obexd/src/manager.c
@@ -1022,7 +1022,6 @@ static void find_adapter_reply(DBusPendingCall *call, gpointer user_data)
 	DBusMessage *msg;
 	DBusPendingCall *pcall;
 	GIOChannel *io;
-	guint watch;
 	const char *paddr = pending->address;
 	const char *path;
 	DBusError derr;
@@ -1068,7 +1067,7 @@ static void find_adapter_reply(DBusPendingCall *call, gpointer user_data)
 
 	/* Catches errors before authorization response comes */
 	io = g_io_channel_unix_new(pending->nsk);
-	watch = g_io_add_watch_full(io, G_PRIORITY_DEFAULT,
+	g_io_add_watch_full(io, G_PRIORITY_DEFAULT,
 			G_IO_HUP | G_IO_ERR | G_IO_NVAL,
 			service_error, NULL, NULL);
 	g_io_channel_unref(io);