summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-security.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-08-23 11:27:25 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-08-23 11:27:25 +0000
commit5bf403ffd242a1bc931c7dee59f3ef5a6fa3d3ba (patch)
tree65474ac5694a9f04885b78f212d14392dac7cd1e /hcid/dbus-security.c
parent68740e60988748b8ef6507528fd0900bbf2eaecd (diff)
Unnecessary NULL assignments (memory was already initialized to zero)
Diffstat (limited to 'hcid/dbus-security.c')
-rw-r--r--hcid/dbus-security.c2
1 files changed, 0 insertions, 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);