Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9599 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 8, 2008
1 parent 227f381 commit 348f0f7
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/core/raster/qgsrasterlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ QgsRasterLayer::QgsRasterLayer(
// Constant that signals property not used.
QSTRING_NOT_SET( "Not Set" ),
TRSTRING_NOT_SET( tr( "Not Set" ) ),
mStandardDeviations( 0 ),
mDataProvider( 0 ),
mWidth( std::numeric_limits<int>::max() ),
mHeight( std::numeric_limits<int>::max() ),
mInvertColor( false ),
mStandardDeviations( 0 ),
mDataProvider( 0 )
mInvertColor( false )
{

mUserDefinedRGBMinimumMaximum = false; //defaults needed to bypass enhanceContrast
Expand Down Expand Up @@ -138,15 +138,14 @@ QgsRasterLayer::QgsRasterLayer( int dummy,
QString const & format,
QString const & crs )
: QgsMapLayer( RasterLayer, baseName, rasterLayerPath ),
mWidth( std::numeric_limits<int>::max() ),
mHeight( std::numeric_limits<int>::max() ),
mInvertColor( false ),
mStandardDeviations( 0 ),
mProviderKey( providerKey ),
mDataProvider( 0 ),
mEditable( false ),
mModified( false )

mWidth( std::numeric_limits<int>::max() ),
mHeight( std::numeric_limits<int>::max() ),
mInvertColor( false ),
mModified( false ),
mProviderKey( providerKey )
{
QgsDebugMsg( "(8 arguments) starting. with layer list of " +
layers.join( ", " ) + " and style list of " + styles.join( ", " ) + " and format of " +
Expand Down

0 comments on commit 348f0f7

Please sign in to comment.