/* Unknown method! */
default:
lwerror("Unsupported compression method: %d",method );
- }
+ }
+ /*Just to make the compiler quiet*/
+ return 0;
}
/* Unknown method! */
default:
lwerror("Unsupported compression method: %d",method );
- }
+ }
+ /*Just to make the compiler quiet*/
+ return 0;
}
static uint8_t* ptarray_to_twkb_buf_m0(const POINTARRAY *pa, uint8_t *buf, uint8_t variant,int8_t prec,int accum_rel[])
{
int32 newlen;
text *endianess;
GSERIALIZED *geom;
- int i;
uint8_t variant = 0;
if (!AggCheckCallContext(fcinfo, &aggcontext))
}
else
{
- state = PG_GETARG_POINTER(0);
+ state = (twkb_state*) PG_GETARG_POINTER(0);
if(!((state->n_rows)<(state->max_rows)))
{
size_t twkb_size;
uint8_t *twkb;
bytea *result;
- state = PG_GETARG_POINTER(0);
+ state = (twkb_state*) PG_GETARG_POINTER(0);
lwgeom_arrays.n_points=lwgeom_arrays.n_linestrings=lwgeom_arrays.n_polygons=lwgeom_arrays.n_collections=0;
geom_array=state->geoms;