From 249c81008996597e2dc54505a5340975e1d461b6 Mon Sep 17 00:00:00 2001 From: Markus Metz Date: Sat, 23 Nov 2024 22:27:49 +0100 Subject: [PATCH] comment out unused function --- vector/v.out.ogr/export_areas.c | 2 ++ vector/v.out.ogr/export_areas_fast.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/vector/v.out.ogr/export_areas.c b/vector/v.out.ogr/export_areas.c index 7315d7f842a..5cbc78c408d 100644 --- a/vector/v.out.ogr/export_areas.c +++ b/vector/v.out.ogr/export_areas.c @@ -13,6 +13,7 @@ static int export_areas_multi(struct Map_info *, int, int, OGRFeatureDefnH, static OGRGeometryH create_polygon(struct Map_info *, int, struct line_pnts *, int); +#if 0 /* maybe useful */ static void reverse_points(struct line_pnts *Points) { @@ -35,6 +36,7 @@ static void reverse_points(struct line_pnts *Points) Points->z[j] = tmp; } } +#endif /* export areas as single/multi-polygons */ int export_areas(struct Map_info *In, int field, int multi, int donocat, diff --git a/vector/v.out.ogr/export_areas_fast.c b/vector/v.out.ogr/export_areas_fast.c index 2572c4df4e0..86284f3bbf5 100644 --- a/vector/v.out.ogr/export_areas_fast.c +++ b/vector/v.out.ogr/export_areas_fast.c @@ -13,6 +13,7 @@ static int export_areas_multi(struct Map_info *, int, int, OGRFeatureDefnH, static OGRGeometryH create_polygon(struct Map_info *, int, struct line_pnts *, int); +#if 0 /* maybe useful */ static void reverse_points(struct line_pnts *Points) { @@ -35,6 +36,7 @@ static void reverse_points(struct line_pnts *Points) Points->z[j] = tmp; } } +#endif /* export areas as single/multi-polygons */ int export_areas_fast(struct Map_info *In, int field, int multi, int donocat,