From c2bc71bd9287284a5462bb78f2e1658f97b9f172 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Thu, 9 Nov 2017 17:34:14 +0000 Subject: [PATCH] Remove un-used static function git-svn-id: http://svn.osgeo.org/postgis/trunk@16106 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/mvt.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/postgis/mvt.c b/postgis/mvt.c index 38f82dac3..ae97d4ba8 100644 --- a/postgis/mvt.c +++ b/postgis/mvt.c @@ -639,19 +639,6 @@ static void parse_values(mvt_agg_context *ctx) POSTGIS_DEBUGF(3, "parse_values n_tags %zd", ctx->feature->n_tags); } -static int max_type(LWCOLLECTION *lwcoll) -{ - int i, max = POINTTYPE; - for (i = 0; i < lwcoll->ngeoms; i++) { - uint8_t type = lwcoll->geoms[i]->type; - if (type == POLYGONTYPE || type == MULTIPOLYGONTYPE) - return POLYGONTYPE; - else if (type == LINETYPE || type == MULTILINETYPE) - max = LINETYPE; - } - return max; -} - /** * In place process a collection to find a concrete geometry * object and expose that as the actual object. Will some -- 2.40.0