From: Sandro Santilli Date: Thu, 2 Jul 2015 15:14:31 +0000 (+0000) Subject: Fix warning in non-debug build X-Git-Tag: 2.2.0rc1~264 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=848e1b548c0b7087948418dda09672771ca24fae;p=postgis Fix warning in non-debug build git-svn-id: http://svn.osgeo.org/postgis/trunk@13775 b70326c6-7e19-0410-871a-916f4a2858ee --- 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;