Skip to content
Permalink
Browse files

Use forward declaration

  • Loading branch information...
szekerest committed Feb 19, 2019
1 parent 5b65967 commit 151efbd630637c3238eb1bdddf29f3864427abd7
Showing with 2 additions and 2 deletions.
  1. +2 −2 mapmssql2008.c
@@ -550,13 +550,13 @@ int ParseSqlGeometry(msMSSQL2008LayerInfo* layerinfo, shapeObj *shape)

// read figures
for (iFigure = 0; iFigure < gpi->nNumFigures; iFigure++) {
int iPoint, iNextPoint;
int iPoint, iNextPoint, i;
iPoint = PointOffset(iFigure);
iNextPoint = NextPointOffset(iFigure);

shape->line[iFigure].point = (pointObj *) msSmallMalloc(sizeof(pointObj)*(iNextPoint - iPoint));
shape->line[iFigure].numpoints = iNextPoint - iPoint;
int i = 0;
i = 0;

if (gpi->chVersion == 0x02 && FigureAttribute(iFigure) >= 0x02) {
int nPointPrepared = 0;

0 comments on commit 151efbd

Please sign in to comment.
You can’t perform that action at this time.