aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-pilot-map.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-15 23:16:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-16 10:50:05 +0800
commitcae22334fa6bc395ccc421b09e0af94c89297c41 (patch)
tree84881f467c0448db044d8bb3533e044a7152bb2b /e-util/e-pilot-map.c
parentd37784ed3db20fd74ea4b8d9fdfe58518370cea2 (diff)
downloadgsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.gz
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.bz2
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.lz
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.xz
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.zst
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.zip
Remove dead assignments found by clang.
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);
}