Skip to content

Commit

Permalink
Clean up a few assignments I left abandoned.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15487 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mmassing committed Mar 14, 2011
1 parent fab67b1 commit 11ce0ff
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -114,15 +114,6 @@ QgsGdalProvider::QgsGdalProvider( QString const & uri )
// To get buildSupportedRasterFileFilter the provider is called with empty uri
if ( uri.isEmpty() ) return;

// Initialise the affine transform matrix
mGeoTransform[0] = 0;
mGeoTransform[1] = 1;
mGeoTransform[2] = 0;
mGeoTransform[3] = 0;
mGeoTransform[4] = 0;
mGeoTransform[5] = -1;


mGdalDataset = NULL;

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

if (!hasGeoTransform)
{
mWidth = GDALGetRasterXSize( mGdalDataset );
mHeight = GDALGetRasterYSize( mGdalDataset );

// Initialise the affine transform matrix
mGeoTransform[0] = 0;
mGeoTransform[1] = 1;
Expand Down

0 comments on commit 11ce0ff

Please sign in to comment.