diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-08-11 20:25:01 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-08-11 20:25:01 +0000 |
commit | 433982989f626f3794caa17efbae7457c014e781 (patch) | |
tree | d4543db43156040aeb78c060836273393262a982 /navit/graphics.c | |
parent | c576f67df18a66a757eeea474e11786d7d42d16f (diff) | |
download | navit-433982989f626f3794caa17efbae7457c014e781.tar.gz |
Fix:map_mg:Fix warnings by removing loads of dead code.|Part of #1154.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5566 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.c')
-rw-r--r-- | navit/graphics.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/navit/graphics.c b/navit/graphics.c index 2b1671b53..864178c95 100644 --- a/navit/graphics.c +++ b/navit/graphics.c @@ -2863,20 +2863,19 @@ graphics_remove_selection(struct graphics *gra, struct item *item, enum item_typ while (curr) { struct item *sitem=curr->data; if (item_is_equal(*item,*sitem)) { +#if 0 /* FIXME */ if (dl) { struct displayitem di; - /* Unused Variable - GHashTable *h; */ + GHashTable *h; di.item=*sitem; di.label=NULL; di.count=0; di.item.type=type; -#if 0 /* FIXME */ h=g_hash_table_lookup(dl->dl, GINT_TO_POINTER(di.item.type)); if (h) g_hash_table_remove(h, &di); -#endif } +#endif g_free(sitem); gra->selection=g_list_remove(gra->selection, curr->data); found=1; |