]> granicus.if.org Git - postgis/commitdiff
Fix warning in non-debug build
authorSandro Santilli <strk@keybit.net>
Thu, 2 Jul 2015 15:14:31 +0000 (15:14 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 2 Jul 2015 15:14:31 +0000 (15:14 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13775 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwlinearreferencing.c

index 5bc5bf6d66fe4aecb342f88c9005df95274dcab4..6c745fa9cd375744462fc7407d915fe8d46137a7 100644 (file)
@@ -1332,7 +1332,9 @@ lwgeom_cpa_within(const LWGEOM *g1, const LWGEOM *g2, double maxdist)
        {
                double t0 = mvals[i-1];
                double t1 = mvals[i];
+#if POSTGIS_DEBUG_LEVEL >= 1
                double t;
+#endif
                POINT4D p0, p1, q0, q1;
                int seg;
                double dist2;