summaryrefslogtreecommitdiffstats
path: root/src/agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/agent.c')
-rw-r--r--src/agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/agent.c b/src/agent.c
index 46202ac0..3471057b 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -186,7 +186,7 @@ struct agent *agent_create(struct btd_adapter *adapter, const char *name,
const char *path, uint8_t capability,
agent_remove_cb cb, void *remove_cb_data)
{
- struct agent *agent, *adapter_agent;
+ struct agent *agent;
agent = g_new0(struct agent, 1);