Skip to content
Permalink
Browse files

Fix two minor Coverity uninitialized member warnings

  • Loading branch information
nyalldawson committed Jul 12, 2015
1 parent c5a58a7 commit 8e12578028b3d29f554fd6a7e93417aec4658011
Showing with 4 additions and 1 deletion.
  1. +3 −1 src/analysis/raster/qgsalignraster.cpp
  2. +1 −0 tests/src/core/testqgscomposermapoverview.cpp
@@ -556,7 +556,9 @@ bool QgsAlignRaster::suggestedWarpOutput( const QgsAlignRaster::RasterInfo& info


QgsAlignRaster::RasterInfo::RasterInfo( const QString& layerpath )
: mBandCnt( 0 )
: mXSize( 0 )
, mYSize( 0 )
, mBandCnt( 0 )
{
mDataset = GDALOpen( layerpath.toLocal8Bit().constData(), GA_ReadOnly );
if ( !mDataset )
@@ -36,6 +36,7 @@ class TestQgsComposerMapOverview : public QObject
TestQgsComposerMapOverview()
: mComposition( 0 )
, mComposerMap( 0 )
, mMapSettings( 0 )
, mRasterLayer( 0 )
{}

0 comments on commit 8e12578

Please sign in to comment.
You can’t perform that action at this time.