Skip to content
Permalink
Browse files

[tracer] get rid of warnings

  • Loading branch information
wonder-sk committed Jan 11, 2016
1 parent 3883a2e commit 17f85f62fe885e13198a82d3ae71e6c381c8a148
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/core/qgstracer.cpp
@@ -525,6 +525,10 @@ bool QgsTracer::initGraph()

int timeMake = t3.elapsed();

Q_UNUSED( timeExtract );
Q_UNUSED( timeNoding );
Q_UNUSED( timeNodingCall );
Q_UNUSED( timeMake );
QgsDebugMsg( QString( "tracer extract %1 ms, noding %2 ms (call %3 ms), make %4 ms" )
.arg( timeExtract ).arg( timeNoding ).arg( timeNodingCall ).arg( timeMake ) );
return true;
@@ -645,6 +649,8 @@ QVector<QgsPoint> QgsTracer::findShortestPath( const QgsPoint& p1, const QgsPoin
QgsPolyline points = shortest_path( *mGraph, v1, v2 );
int tPath = t2.elapsed();

Q_UNUSED( tPrep );
Q_UNUSED( tPath );
QgsDebugMsg( QString( "path timing: prep %1 ms, path %2 ms" ).arg( tPrep ).arg( tPath ) );

reset_graph( *mGraph );

0 comments on commit 17f85f6

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