summaryrefslogtreecommitdiff
path: root/navit/map.c
diff options
context:
space:
mode:
authorhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-12-28 21:23:41 +0000
committerhorwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-12-28 21:23:41 +0000
commit879880aae058ecf06f515e172769404ff4b7c2cd (patch)
tree236ab8eb139e1c25f251e2c37a27ffe927692735 /navit/map.c
parent07334a013711c5e14649b85e114f6f451f1fce2a (diff)
downloadnavit-879880aae058ecf06f515e172769404ff4b7c2cd.tar.gz
core:fix:Fix some warnings and do some small cleanups
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1864 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map.c')
-rw-r--r--navit/map.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/navit/map.c b/navit/map.c
index e8da215f1..2967a895a 100644
--- a/navit/map.c
+++ b/navit/map.c
@@ -464,7 +464,6 @@ map_search_destroy(struct map_search *this_)
struct map_selection *
map_selection_rect_new(struct pcoord *center, int distance, int order)
{
- int i;
struct map_selection *ret=g_new0(struct map_selection, 1);
ret->order=order;
ret->range=item_range_all;