Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Aug 1, 2012
1 parent 738c1f3 commit a4670f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/raster/qgsrasterfilewriter.cpp
Expand Up @@ -90,7 +90,10 @@ QgsRasterFileWriter::WriterError QgsRasterFileWriter::writeDataRaster( QgsRaster
}

//Get output map units per pixel
int iterLeft, iterTop, iterCols, iterRows;
int iterLeft = 0;
int iterTop = 0;
int iterCols = 0;
int iterRows = 0;

iter->setMaximumTileWidth( mMaxTileWidth );
iter->setMaximumTileHeight( mMaxTileHeight );
Expand Down

0 comments on commit a4670f0

Please sign in to comment.