From 5bf403ffd242a1bc931c7dee59f3ef5a6fa3d3ba Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 23 Aug 2006 11:27:25 +0000 Subject: Unnecessary NULL assignments (memory was already initialized to zero) --- hcid/dbus-security.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c index fd958aad..1de27fa2 100644 --- a/hcid/dbus-security.c +++ b/hcid/dbus-security.c @@ -637,8 +637,6 @@ static void release_agent(struct passkey_agent *agent) /* Only remove the name listener if there are no more agents for this name */ memset(&ref, 0, sizeof(ref)); ref.name = agent->name; - ref.addr = NULL; - ref.path = NULL; if (!slist_find(agent->pdata->passkey_agents, &ref, (cmp_func_t)agent_cmp)) name_listener_remove(agent->conn, ref.name, (name_cb_t)agent_exited, agent->pdata); -- cgit