Skip to content
Permalink
Browse files

Fix coverity dereference warning

  • Loading branch information
nyalldawson committed Jun 2, 2016
1 parent 0ed7f3c commit c672ce2a0521377fa7486a17d9660e5d1b1913d9
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/qgsaggregatecalculator.cpp
@@ -106,7 +106,8 @@ QVariant QgsAggregateCalculator::calculate( QgsAggregateCalculator::Aggregate ag
return QVariant();
}

context->setFeature( f );
if ( context )
context->setFeature( f );
QVariant v = expression->evaluate( context );
resultType = v.type();
}

0 comments on commit c672ce2

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