From c7e086b01a17a774db060552ba2d597c3b2fa515 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Wed, 20 Dec 2017 16:32:41 +0000 Subject: [PATCH] cleanup uninitialized use of context to appease travis References #3946 git-svn-id: http://svn.osgeo.org/postgis/trunk@16169 b70326c6-7e19-0410-871a-916f4a2858ee --- libpgcommon/lwgeom_transform.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libpgcommon/lwgeom_transform.c b/libpgcommon/lwgeom_transform.c index a8db28eda..57f860409 100644 --- a/libpgcommon/lwgeom_transform.c +++ b/libpgcommon/lwgeom_transform.c @@ -197,9 +197,7 @@ PROJ4SRSCacheDelete(void *arg) PJHashEntry *he = (PJHashEntry *) arg; projPJ projection = he->projection; MemoryContext context; - if (projection) - context = he->ProjectionContext; - + context = he->ProjectionContext; #endif if (!projection) elog(ERROR, "PROJ4SRSCacheDelete: Trying to delete non-existant projection object with MemoryContext key (%p)", (void *)context); -- 2.40.0