]> granicus.if.org Git - postgis/commitdiff
Remove unused code
authorSandro Santilli <strk@keybit.net>
Thu, 7 Jun 2012 14:17:16 +0000 (14:17 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 7 Jun 2012 14:17:16 +0000 (14:17 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9856 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rt_pg.c

index ef0b826c09eca8c435cbb6108bc9c52aaf006991..6bec9722fb1ce77839c797aabdd1b277a7b4a3bc 100644 (file)
@@ -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)
 {