Initialize iteration counter

parent 7d1fe74a
......@@ -413,7 +413,7 @@ int main( int argc, char** argv ) {
float l_t = 0.0;
progressBar.update(l_t);
unsigned int l_iterations;
unsigned int l_iterations = 0;
// loop over checkpoints
for(int c=1; c<=l_numberOfCheckPoints; c++) {
......
......@@ -220,7 +220,7 @@ int main( int argc, char** argv ) {
float l_t = 0.0;
progressBar.update(l_t);
unsigned int l_iterations;
unsigned int l_iterations = 0;
// loop over checkpoints
for(int c=1; c<=l_numberOfCheckPoints; c++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment