Skip to content

Commit

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

// Calc stats: user, sys, total
double avg[3], min[3], max[3];
double maxdev[3], 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 03f4ff7

Please sign in to comment.