Skip to content

Commit 17f85f6

Browse files
committedJan 11, 2016
[tracer] get rid of warnings
1 parent 3883a2e commit 17f85f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/core/qgstracer.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,10 @@ bool QgsTracer::initGraph()
525525

526526
int timeMake = t3.elapsed();
527527

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

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

650656
reset_graph( *mGraph );

0 commit comments

Comments
 (0)
Please sign in to comment.