summaryrefslogtreecommitdiff
path: root/navit/map
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-11 20:26:02 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-11 20:26:02 +0000
commitd660740289836b228145a46ae6619e543baa83a2 (patch)
treeb818d0a08a874fc9443998051b0997bdd02d180d /navit/map
parentd96e2de0a7325787fd838131e495667b1a77d053 (diff)
downloadnavit-d660740289836b228145a46ae6619e543baa83a2.tar.gz
Fix:core:Fix warnings for unused functions, usually by removing them.|Part of #1154.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5570 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map')
-rw-r--r--navit/map/csv/csv.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/navit/map/csv/csv.c b/navit/map/csv/csv.c
index 9aedd0029..c69910b06 100644
--- a/navit/map/csv/csv.c
+++ b/navit/map/csv/csv.c
@@ -474,6 +474,9 @@ static void quadtree_item_free_do(void *data)
g_free(data);
}
+/**
+ * Dump all map data (including deleted items) to the log.
+ */
static void map_csv_debug_dump(struct map_priv *map)
{
GList *l=g_hash_table_get_values(map->qitem_hash);
@@ -502,12 +505,9 @@ map_rect_new_csv(struct map_priv *map, struct map_selection *sel)
struct coord_geo rl;
struct quadtree_iter *res = NULL;
dbg(1,"map_rect_new_csv\n");
-
-#if 0
- /* Set above value to 1 to have all map data dumped (including deleted items) to the log at each maprect creation */
- map_csv_debug_dump(map);
-#endif
-
+ if(debug_level_get("map_csv")>2) {
+ map_csv_debug_dump(map);
+ }
mr=g_new0(struct map_rect_priv, 1);
mr->m=map;
mr->bStarted = 0;