From 55c0e3e0f24b7d7c9672c2e0ed622b89839807f3 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Wed, 27 Jun 2012 17:50:51 +0100 Subject: [PATCH] + fix typo --- plugins/input/gdal/gdal_datasource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/input/gdal/gdal_datasource.cpp b/plugins/input/gdal/gdal_datasource.cpp index da2ca101d..6c692103e 100644 --- a/plugins/input/gdal/gdal_datasource.cpp +++ b/plugins/input/gdal/gdal_datasource.cpp @@ -119,7 +119,7 @@ void gdal_datasource::bind() const shared_dataset_ = *params_.get("shared", false); band_ = *params_.get("band", -1); - GDALDataset *dataset = open_dataset(); + dataset_ = open_dataset(); nbands_ = dataset_->GetRasterCount(); width_ = dataset_->GetRasterXSize(); height_ = dataset_->GetRasterYSize();