Skip to content

Commit

Permalink
maxdev must also be inited
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Nov 27, 2011
1 parent 03f4ff7 commit dc56ea9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/bench/qgsbench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,9 @@ void QgsBench::render()
mLogMap.insert( "iterations", mTimes.size() );

// Calc stats: user, sys, total
double maxdev[3], min[3], max[3];
double min[3], max[3];
double stdev[3] = {0.};
double maxdev[3] = {0.};
double avg[3] = {0.};

for ( int t = 0; t < 3; t++ )
Expand Down

0 comments on commit dc56ea9

Please sign in to comment.