diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-08-11 20:24:38 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-08-11 20:24:38 +0000 |
commit | 3255fdf5835539a6d1ed62dfb762ca551c80e0fa (patch) | |
tree | 59ed13811aaef196aa8649fedf0a41e138516388 /navit/popup.c | |
parent | b420da8fb05b4537771e818d6cf4e02896cb86f0 (diff) | |
download | navit-svn-3255fdf5835539a6d1ed62dfb762ca551c80e0fa.tar.gz |
Fix:core:Fix warnings from unused variables.|Part of #1154.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5564 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/popup.c')
-rw-r--r-- | navit/popup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/popup.c b/navit/popup.c index dc9ee62b..9a12e6a5 100644 --- a/navit/popup.c +++ b/navit/popup.c @@ -320,7 +320,7 @@ static void popup_show_item(struct navit *nav, void *popup, struct displayitem *di) { struct map_rect *mr; - void *menu, *menu_map, *menu_item, *menu_dist; + void *menu, *menu_item, *menu_dist; char *label; struct item *item,*diitem; int count; @@ -368,7 +368,6 @@ popup_show_item(struct navit *nav, void *popup, struct displayitem *di) } } map_rect_destroy(mr); - menu_map=popup_printf(menu, menu_type_submenu, "Map"); } else { popup_printf(menu, menu_type_menu, "(No map)"); } |