]> granicus.if.org Git - postgis/commitdiff
Remove un-used static function
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 9 Nov 2017 17:34:14 +0000 (17:34 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 9 Nov 2017 17:34:14 +0000 (17:34 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16106 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/mvt.c

index 38f82dac311d2c461fedd05822ccc3dcedacd9ae..ae97d4ba8fd4d1bb19f16af3524a780da8a40f77 100644 (file)
@@ -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