[postgis-tickets] r16106 - Remove un-used static function
Paul Ramsey
pramsey at cleverelephant.ca
Thu Nov 9 09:34:14 PST 2017
Author: pramsey
Date: 2017-11-09 09:34:14 -0800 (Thu, 09 Nov 2017)
New Revision: 16106
Modified:
trunk/postgis/mvt.c
Log:
Remove un-used static function
Modified: trunk/postgis/mvt.c
===================================================================
--- trunk/postgis/mvt.c 2017-11-09 17:21:45 UTC (rev 16105)
+++ trunk/postgis/mvt.c 2017-11-09 17:34:14 UTC (rev 16106)
@@ -639,19 +639,6 @@
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
More information about the postgis-tickets
mailing list