Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix coverity dereference warning
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+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(); |
|
|
} |
|
|