From cca5a0864ff56e7102f02a5d783729e569bcea73 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Wed, 5 Jun 2013 21:31:44 +0000 Subject: [PATCH] =?utf8?q?#2315,=20geography=5Fdistance=5Funcached:=20vari?= =?utf8?q?able=20=E2=80=98tolerance=E2=80=99=20set=20but=20not=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.osgeo.org/postgis/trunk@11531 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/geography_measurement.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postgis/geography_measurement.c b/postgis/geography_measurement.c index 5dec9ffc3..e41f646e3 100644 --- a/postgis/geography_measurement.c +++ b/postgis/geography_measurement.c @@ -55,7 +55,7 @@ Datum geography_distance_uncached(PG_FUNCTION_ARGS) GSERIALIZED *g1 = NULL; GSERIALIZED *g2 = NULL; double distance; - double tolerance; + /* double tolerance; */ bool use_spheroid; SPHEROID s; @@ -64,8 +64,8 @@ Datum geography_distance_uncached(PG_FUNCTION_ARGS) g2 = (GSERIALIZED*)PG_DETOAST_DATUM(PG_GETARG_DATUM(1)); /* Read our tolerance value. */ - tolerance = PG_GETARG_FLOAT8(2); - + /* tolerance = PG_GETARG_FLOAT8(2); */ + /* Read our calculation type. */ use_spheroid = PG_GETARG_BOOL(3); -- 2.40.0