From: Paul Ramsey Date: Thu, 9 Nov 2017 17:34:14 +0000 (+0000) Subject: Remove un-used static function X-Git-Tag: 2.5.0alpha~313 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2bc71bd9287284a5462bb78f2e1658f97b9f172;p=postgis Remove un-used static function git-svn-id: http://svn.osgeo.org/postgis/trunk@16106 b70326c6-7e19-0410-871a-916f4a2858ee --- 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