aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-pilot-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-pilot-map.c')
-rw-r--r--e-util/e-pilot-map.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/e-util/e-pilot-map.c b/e-util/e-pilot-map.c
index e557388352..2c047d60f6 100644
--- a/e-util/e-pilot-map.c
+++ b/e-util/e-pilot-map.c
@@ -256,7 +256,6 @@ e_pilot_map_remove_by_pid (EPilotMap *map, guint32 pid)
void
e_pilot_map_remove_by_uid (EPilotMap *map, const gchar *uid)
{
- EPilotMapPidNode *pnode;
EPilotMapUidNode *unode;
g_return_if_fail (map != NULL);
@@ -266,8 +265,6 @@ e_pilot_map_remove_by_uid (EPilotMap *map, const gchar *uid)
if (unode == NULL)
return;
- pnode = g_hash_table_lookup (map->pid_map, &unode->pid);
-
g_hash_table_remove (map->pid_map, &unode->pid);
g_hash_table_remove (map->uid_map, uid);
}