summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-05-27 10:10:04 -0700
committerMarcel Holtmann <marcel@holtmann.org>2011-05-27 10:10:04 -0700
commitefebdc4ca5554b4e1b7d762ce150acd4d6aa85fb (patch)
tree6985a928fc7f77b450bf4f03d1e133f5784f7b06
parentcaf10713643300ff3bb267f4fcb469fab18e66de (diff)
downloadofono-efebdc4ca5554b4e1b7d762ce150acd4d6aa85fb.tar.bz2
bluetooth: Remove usage of unused variable
-rw-r--r--plugins/bluetooth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 7c2d5b06..2a507c58 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -679,12 +679,11 @@ static gboolean adapter_added(DBusConnection *connection, DBusMessage *message,
void *user_data)
{
const char *path;
- int ret;
dbus_message_get_args(message, NULL, DBUS_TYPE_OBJECT_PATH, &path,
DBUS_TYPE_INVALID);
- ret = bluetooth_send_with_reply(path, BLUEZ_ADAPTER_INTERFACE,
+ bluetooth_send_with_reply(path, BLUEZ_ADAPTER_INTERFACE,
"GetProperties", adapter_properties_cb, g_strdup(path),
g_free, -1, DBUS_TYPE_INVALID);