Changeset: 87477dce6323 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/87477dce6323
Modified Files:
        geom/monetdb5/geom_atoms.c
Branch: Dec2023
Log Message:

Declare differently.


diffs (14 lines):

diff --git a/geom/monetdb5/geom_atoms.c b/geom/monetdb5/geom_atoms.c
--- a/geom/monetdb5/geom_atoms.c
+++ b/geom/monetdb5/geom_atoms.c
@@ -272,8 +272,8 @@ wkbFROMSTR_withSRID(const char *geomWKT,
 {
        GEOSGeom geosGeometry = NULL;   /* The geometry object that is parsed 
from the src string. */
        GEOSWKTReader *WKT_reader;
-       const char *polyhedralSurface = "POLYHEDRALSURFACE";
-       const char *multiPolygon = "MULTIPOLYGON";
+       static const char polyhedralSurface[] = "POLYHEDRALSURFACE";
+       static const char multiPolygon[] = "MULTIPOLYGON";
        char *geomWKT_new = NULL;
        size_t parsedCharacters = 0;
 
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to