Skip to content
Permalink
Browse files

Avoid Coverity warning

  • Loading branch information
nyalldawson committed Jan 15, 2016
1 parent 91f3005 commit df27c07d5f780049e4aaa7ffb271b2385a747b7f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgslayerdefinition.cpp
@@ -305,8 +305,8 @@ QgsLayerDefinition::DependencySorter::DependencySorter( const QString& fileName
{
QDomDocument doc;
QFile pFile( fileName );
pFile.open( QIODevice::ReadOnly );
doc.setContent( &pFile );
( void )pFile.open( QIODevice::ReadOnly );
( void )doc.setContent( &pFile );
init( doc );
}

0 comments on commit df27c07

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