From 42a95fac04667a374ccdbbc623fbbcb4b1a2e552 Mon Sep 17 00:00:00 2001 From: mvglasow Date: Sat, 11 Aug 2018 18:21:40 +0200 Subject: Fix:traffic:Fix compiler warning Signed-off-by: mvglasow --- navit/traffic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/navit/traffic.c b/navit/traffic.c index fcbf2074e..760faea52 100644 --- a/navit/traffic.c +++ b/navit/traffic.c @@ -243,7 +243,9 @@ struct xml_element { static struct seg_data * seg_data_new(void); static struct item * tm_add_item(struct map *map, enum item_type type, int id_hi, int id_lo, int flags, struct attr **attrs, struct coord *c, int count, char * id); +#ifdef TRAFFIC_DEBUG static void tm_dump_item_to_textfile(struct item * item); +#endif static void tm_destroy(struct map_priv *priv); static void tm_coord_rewind(void *priv_data); static void tm_item_destroy(struct item * item); -- cgit v1.2.1