Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix warning
  • Loading branch information
jef-n committed Jun 30, 2015
1 parent b1dac74 commit 53e095d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsexpression.cpp
Expand Up @@ -662,7 +662,7 @@ static QVariant fcnLevenshtein( const QVariantList& values, const QgsFeature*, Q
{
QString string1 = getStringValue( values.at( 0 ), parent );
QString string2 = getStringValue( values.at( 1 ), parent );
return QVariant( QgsStringUtils::levenshteinDistance( string1, string2, true) );
return QVariant( QgsStringUtils::levenshteinDistance( string1, string2, true ) );
}

static QVariant fcnLCS( const QVariantList& values, const QgsFeature*, QgsExpression* parent )
Expand Down Expand Up @@ -2607,7 +2607,7 @@ bool QgsExpression::NodeBinaryOperator::leftAssociative() const
return false;
}
Q_ASSERT( 0 && "unexpected binary operator" );
return -1;
return false;
}

QString QgsExpression::NodeBinaryOperator::dump() const
Expand Down

0 comments on commit 53e095d

Please sign in to comment.