Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 2, 2015
1 parent ef8cf2e commit 128e5b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/nodetool/qgsmaptoolnodetool.cpp
Expand Up @@ -392,9 +392,7 @@ void QgsMapToolNodeTool::canvasPressEvent( QMouseEvent * e )
// remove previous warning
emit messageDiscarded();

QgsVectorLayer *vlayer = mSelectedFeature->vlayer();
Q_ASSERT( vlayer );
Q_UNUSED( vlayer );
Q_ASSERT( mSelectedFeature->vlayer() );

// try to find a piece of currently selected geometry
QgsFeatureIdFilter filterFid( mSelectedFeature->featureId() );
Expand Down

0 comments on commit 128e5b3

Please sign in to comment.