Skip to content
Permalink
Browse files

fix warning

  • Loading branch information
jef-n committed Feb 2, 2015
1 parent ef8cf2e commit 128e5b355b4873d453e2585c1e20c864d8b70096
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/app/nodetool/qgsmaptoolnodetool.cpp
@@ -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() );

0 comments on commit 128e5b3

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