Changeset: 4e3a217cbe0e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4e3a217cbe0e
Modified Files:
        geom/monetdb5/geom.c
        geom/monetdb5/geomPoints.c
Branch: geo
Log Message:

testweb errors fix


diffs (41 lines):

diff --git a/geom/monetdb5/geom.c b/geom/monetdb5/geom.c
--- a/geom/monetdb5/geom.c
+++ b/geom/monetdb5/geom.c
@@ -1196,7 +1196,6 @@ static str wkbBasicInt(int *out, wkb *ge
                GDKerrbuf[0]='\0'; 
        }
        return ret;
-
 }
 
 
diff --git a/geom/monetdb5/geomPoints.c b/geom/monetdb5/geomPoints.c
--- a/geom/monetdb5/geomPoints.c
+++ b/geom/monetdb5/geomPoints.c
@@ -376,7 +376,7 @@ static str pnpolyWithHoles_(int *out, GE
        const GEOSCoordSequence *exteriorRingCoordSeq;
        double **xPoints, **yPoints; //arrays with the points of the rings so 
that we do not read them every time
        unsigned int *pointsNum; //array with the number of points in each ring
-       bool checked = false; //used to know when the internal rings have been 
checked
+       bte checked = 0; //used to know when the internal rings have been 
checked
 
     /*Get the BATs*/
     if ((bpx = BATdescriptor(*point_x)) == NULL) {
@@ -467,7 +467,7 @@ static str pnpolyWithHoles_(int *out, GE
        
        //inside the polygon, check the holes
         for (h = 0; h < interiorRingsNum; h++) {
-               const GEOSCoordSequence *interiorRingCoordSeq;
+               const GEOSCoordSequence *interiorRingCoordSeq = NULL;
 
                if(!checked) {
                        const GEOSGeometry *interiorRingGeometry;
@@ -520,7 +520,7 @@ static str pnpolyWithHoles_(int *out, GE
                }
         }
 
-       checked = true;
+       checked = 1;
     }
 
     BATsetcount(bo,BATcount(bpx));
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to