From 848e1b548c0b7087948418dda09672771ca24fae Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 2 Jul 2015 15:14:31 +0000 Subject: [PATCH] Fix warning in non-debug build git-svn-id: http://svn.osgeo.org/postgis/trunk@13775 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/lwlinearreferencing.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liblwgeom/lwlinearreferencing.c b/liblwgeom/lwlinearreferencing.c index 5bc5bf6d6..6c745fa9c 100644 --- a/liblwgeom/lwlinearreferencing.c +++ b/liblwgeom/lwlinearreferencing.c @@ -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; -- 2.40.0