Skip to content
Permalink
Browse files

fix warning

  • Loading branch information
jef-n committed Jun 30, 2015
1 parent b1dac74 commit 53e095d5adaf53b820e3b36f956d61b6bf064f4c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsexpression.cpp
@@ -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 )
@@ -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

0 comments on commit 53e095d

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