Skip to content
Permalink
Browse files

Clean up a few assignments I left abandoned.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15487 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mmassing
mmassing committed Mar 14, 2011
1 parent fab67b1 commit 11ce0ff95d709a6f346ac4187e2b8d90bde595c0
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/providers/gdal/qgsgdalprovider.cpp
@@ -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 );
@@ -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;

0 comments on commit 11ce0ff

Please sign in to comment.
You can’t perform that action at this time.