From: Paul Ramsey Date: Fri, 18 Mar 2011 15:52:15 +0000 (+0000) Subject: Fix build fail when DEBUG = 1. X-Git-Tag: 2.0.0alpha1~1879 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9485aa440d6d1b6dbd574928d2d77c701e0c5b9;p=postgis Fix build fail when DEBUG = 1. git-svn-id: http://svn.osgeo.org/postgis/trunk@6923 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/rt_core/rt_api.c b/raster/rt_core/rt_api.c index 1437694ad..6a9c39cf3 100644 --- a/raster/rt_core/rt_api.c +++ b/raster/rt_core/rt_api.c @@ -2948,7 +2948,7 @@ rt_raster_wkb_size(rt_context ctx, rt_raster raster) { uint8_t * rt_raster_to_wkb(rt_context ctx, rt_raster raster, uint32_t *wkbsize) { -#if POSTGIS_DEBUG_LEVEL > 2 +#if POSTGIS_DEBUG_LEVEL > 0 const uint8_t *wkbend = NULL; #endif uint8_t *wkb = NULL; @@ -3562,7 +3562,7 @@ rt_raster_deserialize(rt_context ctx, void* serialized) { } /* Skip bytes of padding up to 8-bytes boundary */ -#if POSTGIS_DEBUG_LEVEL > 2 +#if POSTGIS_DEBUG_LEVEL > 0 const uint8_t *padbeg = ptr; #endif while (0 != ((ptr - beg) % 8))