From: Mark Cave-Ayland Date: Mon, 26 Mar 2012 16:23:45 +0000 (+0000) Subject: Remove istypeM state variable from loader as it isn't used anymore. X-Git-Tag: 2.0.0rc1~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6e1f9be5248020e6ab4625ee8cb6e677460502e;p=postgis 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 --- 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];