Skip to content

Commit

Permalink
Remove un-used static function
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/postgis/trunk@16106 b70326c6-7e19-0410-871a-916f4a2858ee
  • Loading branch information
pramsey committed Nov 9, 2017
1 parent 380583d commit c2bc71b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions postgis/mvt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2bc71b

Please sign in to comment.