Skip to content

Commit a4670f0

Browse files
committed
Fix warning
1 parent 738c1f3 commit a4670f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/core/raster/qgsrasterfilewriter.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ QgsRasterFileWriter::WriterError QgsRasterFileWriter::writeDataRaster( QgsRaster
9090
}
9191

9292
//Get output map units per pixel
93-
int iterLeft, iterTop, iterCols, iterRows;
93+
int iterLeft = 0;
94+
int iterTop = 0;
95+
int iterCols = 0;
96+
int iterRows = 0;
9497

9598
iter->setMaximumTileWidth( mMaxTileWidth );
9699
iter->setMaximumTileHeight( mMaxTileHeight );

0 commit comments

Comments
 (0)