3 changes: 1 addition & 2 deletions src/core/raster/qgspalettedrasterrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ QgsRasterBlock * QgsPalettedRasterRenderer::block( int bandNo, QgsRectangle con
{
return outputBlock;
}
QRgb myDefaultColor = NODATA_COLOR;

//QGis::DataType transparencyType = QGis::UnknownDataType;
//if ( mAlphaBand > 0 )
Expand Down Expand Up @@ -172,7 +171,7 @@ QgsRasterBlock * QgsPalettedRasterRenderer::block( int bandNo, QgsRectangle con
}

//create copy of color table with nodata values replaced by fully transparent color
QRgb colorTable[mNColors];
QVector<QRgb> colorTable(mNColors);
for ( int i = 0; i < mNColors; ++i )
{
if ( inputBlock->isNoDataValue( i ) )
Expand Down
13 changes: 0 additions & 13 deletions tests/testdata/raster/band1_byte_ct_epsg4326.tif.aux.xml

This file was deleted.

31 changes: 0 additions & 31 deletions tests/testdata/raster/band1_byte_noct_epsg4326.tif.aux.xml

This file was deleted.

22 changes: 0 additions & 22 deletions tests/testdata/raster/band1_float32_noct_epsg4326.tif.aux.xml

This file was deleted.

23 changes: 0 additions & 23 deletions tests/testdata/raster/band1_int16_noct_epsg4326.tif.aux.xml

This file was deleted.

89 changes: 0 additions & 89 deletions tests/testdata/raster/band3_byte_noct_epsg4326.tif.aux.xml

This file was deleted.

62 changes: 0 additions & 62 deletions tests/testdata/raster/band3_float32_noct_epsg4326.tif.aux.xml

This file was deleted.

65 changes: 0 additions & 65 deletions tests/testdata/raster/band3_int16_noct_epsg4326.tif.aux.xml

This file was deleted.