Skip to content

Commit b97b405

Browse files
committed
missed one...
1 parent 414cb77 commit b97b405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/raster/qgssinglebandgrayrenderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void QgsSingleBandGrayRenderer::draw( QPainter* p, QgsRasterViewPort* viewPort,
9090
alphaType = ( QgsRasterDataProvider::DataType )mProvider->dataType( mAlphaBand );
9191
}
9292
void* rasterData;
93-
void* alphaData;
93+
void* alphaData = 0;
9494
double currentAlpha = mOpacity;
9595
int grayVal;
9696
QRgb myDefaultColor = qRgba( 0, 0, 0, 0 );

0 commit comments

Comments
 (0)