adapter and sba are not used later in function code. --- src/agent.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/agent.c b/src/agent.c index 8cf37b1..e206c56 100644 --- a/src/agent.c +++ b/src/agent.c @@ -355,16 +355,12 @@ static void pincode_reply(DBusPendingCall *call, void *user_data) { struct agent_request *req = user_data; struct agent *agent = req->agent; - struct btd_adapter *adapter = agent->adapter; agent_pincode_cb cb = req->cb; DBusMessage *message; DBusError err; - bdaddr_t sba; size_t len; char *pin; - adapter_get_address(adapter, &sba); - /* steal_reply will always return non-NULL since the callback * is only called after a reply has been received */ message = dbus_pending_call_steal_reply(call); -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html