Skip to content

Commit 11ce0ff

Browse files
author
mmassing
committed
Clean up a few assignments I left abandoned.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15487 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent fab67b1 commit 11ce0ff

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/providers/gdal/qgsgdalprovider.cpp

-12
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,6 @@ QgsGdalProvider::QgsGdalProvider( QString const & uri )
114114
// To get buildSupportedRasterFileFilter the provider is called with empty uri
115115
if ( uri.isEmpty() ) return;
116116

117-
// Initialise the affine transform matrix
118-
mGeoTransform[0] = 0;
119-
mGeoTransform[1] = 1;
120-
mGeoTransform[2] = 0;
121-
mGeoTransform[3] = 0;
122-
mGeoTransform[4] = 0;
123-
mGeoTransform[5] = -1;
124-
125-
126117
mGdalDataset = NULL;
127118

128119
//mGdalBaseDataset = GDALOpen( QFile::encodeName( uri ).constData(), GA_ReadOnly );
@@ -173,9 +164,6 @@ QgsGdalProvider::QgsGdalProvider( QString const & uri )
173164

174165
if (!hasGeoTransform)
175166
{
176-
mWidth = GDALGetRasterXSize( mGdalDataset );
177-
mHeight = GDALGetRasterYSize( mGdalDataset );
178-
179167
// Initialise the affine transform matrix
180168
mGeoTransform[0] = 0;
181169
mGeoTransform[1] = 1;

0 commit comments

Comments
 (0)