From c6e1f9be5248020e6ab4625ee8cb6e677460502e Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Mon, 26 Mar 2012 16:23:45 +0000 Subject: [PATCH] Remove istypeM state variable from loader as it isn't used anymore. git-svn-id: http://svn.osgeo.org/postgis/trunk@9547 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/shp2pgsql-core.c | 4 ---- loader/shp2pgsql-core.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/loader/shp2pgsql-core.c b/loader/shp2pgsql-core.c index 52ab9b59a..9f8b1be84 100644 --- a/loader/shp2pgsql-core.c +++ b/loader/shp2pgsql-core.c @@ -931,7 +931,6 @@ ShpLoaderOpenShape(SHPLOADERSTATE *state) state->has_m = 1; state->pgtype = "POINTM"; state->pgdims = 3; - state->istypeM = 1; break; case SHPT_ARCM: @@ -940,7 +939,6 @@ ShpLoaderOpenShape(SHPLOADERSTATE *state) state->has_m = 1; state->pgtype = "MULTILINESTRINGM"; state->pgdims = 3; - state->istypeM = 1; break; case SHPT_POLYGONM: @@ -949,7 +947,6 @@ ShpLoaderOpenShape(SHPLOADERSTATE *state) state->has_m = 1; state->pgtype = "MULTIPOLYGONM"; state->pgdims = 3; - state->istypeM = 1; break; case SHPT_MULTIPOINTM: @@ -958,7 +955,6 @@ ShpLoaderOpenShape(SHPLOADERSTATE *state) state->has_m = 1; state->pgtype = "MULTIPOINTM"; state->pgdims = 3; - state->istypeM = 1; break; case SHPT_POINTZ: diff --git a/loader/shp2pgsql-core.h b/loader/shp2pgsql-core.h index 73051d3f3..80621cb5a 100644 --- a/loader/shp2pgsql-core.h +++ b/loader/shp2pgsql-core.h @@ -197,9 +197,6 @@ typedef struct shp_loader_state /* Number of dimensions to output */ int pgdims; - /* 0 = simple geometry, 1 = multi geometry */ - int istypeM; - /* Last (error) message */ char message[SHPLOADERMSGLEN]; -- 2.40.0