Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 19, 2014
1 parent fadf182 commit d74f406
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsvectorlayerjoinbuffer.cpp
Expand Up @@ -181,9 +181,13 @@ QVector<int> QgsVectorLayerJoinBuffer::joinSubsetIndices( QgsVectorLayer* joinLa
QString joinedFieldName = joinFieldsSubset.at( i );
int index = fields.fieldNameIndex( joinedFieldName );
if ( index != -1 )
{
subsetIndices.append( index );
}
else
{
QgsDebugMsg( "Join layer subset field not found: " + joinedFieldName );
}
}

return subsetIndices;
Expand Down

0 comments on commit d74f406

Please sign in to comment.