From c9485aa440d6d1b6dbd574928d2d77c701e0c5b9 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 18 Mar 2011 15:52:15 +0000 Subject: [PATCH] Fix build fail when DEBUG = 1. git-svn-id: http://svn.osgeo.org/postgis/trunk@6923 b70326c6-7e19-0410-871a-916f4a2858ee --- raster/rt_core/rt_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.50.1