array init fix

This commit is contained in:
Radim Blazek 2011-11-27 12:45:18 +01:00
parent 6e1d38c139
commit 03f4ff79f9

View File

@ -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++ )
{