Skip to content

Commit

Permalink
[tracer] get rid of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jan 11, 2016
1 parent 3883a2e commit 17f85f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/qgstracer.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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 );
Expand Down

0 comments on commit 17f85f6

Please sign in to comment.