Skip to content
Permalink
Browse files

Fix Coverity unreachable code warning

  • Loading branch information
nyalldawson committed Apr 3, 2018
1 parent 0099b6e commit d5d553f28449bce42aff802bfc5ce72d8d6c1007
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/core/layout/qgsabstractreportsection.cpp
@@ -39,9 +39,6 @@ QgsProject *QgsAbstractReportSection::project()
QgsAbstractReportSection *current = this;
while ( QgsAbstractReportSection *parent = current->parentSection() )
{
if ( !parent )
return nullptr;

if ( QgsReport *report = dynamic_cast< QgsReport * >( parent ) )
return report->layoutProject();

0 comments on commit d5d553f

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