From 1ca8cd83795a3377fd32f5a90be9f03edd331bdf Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 7 Jan 2005 12:09:12 +0000 Subject: [PATCH] fixed var declaration misplacement git-svn-id: http://svn.osgeo.org/postgis/trunk@1252 b70326c6-7e19-0410-871a-916f4a2858ee --- lwgeom/lwgeom_functions_basic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lwgeom/lwgeom_functions_basic.c b/lwgeom/lwgeom_functions_basic.c index 9350f8518..c8cdaa72d 100644 --- a/lwgeom/lwgeom_functions_basic.c +++ b/lwgeom/lwgeom_functions_basic.c @@ -1839,9 +1839,10 @@ Datum LWGEOM_collect_garray(PG_FUNCTION_ARGS) for (i=0; itype); + offset += INTALIGN(geom->size); - unsigned int intype = TYPE_GETTYPE(geom->type); lwgeoms[i] = lwgeom_deserialize(SERIALIZED_FORM(geom)); #ifdef DEBUG elog(NOTICE, "LWGEOM_collect_garray: geom %d deserialized", i); -- 2.40.0