Skip to content

Commit

Permalink
initialize mScale to 0 in QgsExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Aug 30, 2012
1 parent a91766d commit 93ad1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsexpression.cpp
Expand Up @@ -890,7 +890,7 @@ int QgsExpression::functionCount()


QgsExpression::QgsExpression( const QString& expr )
: mExpression( expr ), mRowNumber( 0 ), mCalc( NULL )
: mExpression( expr ), mRowNumber( 0 ), mCalc( NULL ), mScale( 0 )
{
mRootNode = ::parseExpression( mExpression, mParserErrorString );

Expand Down

0 comments on commit 93ad1d0

Please sign in to comment.