]> granicus.if.org Git - postgis/commitdiff
Fix unused variable warning when building against GEOS >= 3.3
authorSandro Santilli <strk@keybit.net>
Mon, 4 Jul 2011 10:02:49 +0000 (10:02 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 4 Jul 2011 10:02:49 +0000 (10:02 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7572 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/lwgeom_geos.c

index 2ff63e0250b94cfa409289871c86cb8e9fa38e11..c5c1cbf6d4bf0a7c4064103d7ef7022d36ae322a 100644 (file)
@@ -3945,7 +3945,9 @@ LWGEOM2GEOS(LWGEOM *lwgeom)
                LWPOLY *lwpoly = NULL;
                LWLINE *lwl = NULL;
                LWCOLLECTION *lwc = NULL;
+#if POSTGIS_GEOS_VERSION < 33
                POINTARRAY *pa = NULL;
+#endif
                
        case POINTTYPE:
                lwp = (LWPOINT *)lwgeom;