Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix two minor Coverity uninitialized member warnings
  • Loading branch information
nyalldawson committed Jul 12, 2015
1 parent c5a58a7 commit 8e12578
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/analysis/raster/qgsalignraster.cpp
Expand Up @@ -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 )
Expand Down
1 change: 1 addition & 0 deletions tests/src/core/testqgscomposermapoverview.cpp
Expand Up @@ -36,6 +36,7 @@ class TestQgsComposerMapOverview : public QObject
TestQgsComposerMapOverview()
: mComposition( 0 )
, mComposerMap( 0 )
, mMapSettings( 0 )
, mRasterLayer( 0 )
{}

Expand Down

0 comments on commit 8e12578

Please sign in to comment.