From: Sandro Santilli Date: Thu, 7 Jun 2012 14:17:16 +0000 (+0000) Subject: Remove unused code X-Git-Tag: 2.1.0beta2~940 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d27c1c05563debc3402cf30509d759a86c3261c;p=postgis Remove unused code git-svn-id: http://svn.osgeo.org/postgis/trunk@9856 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/rt_pg/rt_pg.c b/raster/rt_pg/rt_pg.c index ef0b826c0..6bec9722f 100644 --- a/raster/rt_pg/rt_pg.c +++ b/raster/rt_pg/rt_pg.c @@ -10874,21 +10874,6 @@ rt_pg_notice(const char *fmt, va_list ap) } -#if 0 /* defined by libpgcommon { */ -/* This is needed by liblwgeom */ -void -lwgeom_init_allocators(void) -{ - /* liblwgeom callback - install PostgreSQL handlers */ - lwalloc_var = rt_pg_alloc; - lwrealloc_var = rt_pg_realloc; - lwfree_var = rt_pg_free; - lwerror_var = rt_pg_error; - lwnotice_var = rt_pg_notice; -} -#endif /* defined by libpgcommon } */ - - void rt_init_allocators(void) {