Commit a3dee773 authored by Sean McBride's avatar Sean McBride
Browse files

Fixed clang -Wloop-analysis warning

warning: variable 'i' is incremented both in the loop header and in the loop body [-Wloop-analysis]

The loop is indeed suspect, likely incrementing i too much.

Change-Id: I853aaac44ebf01ae734d8bd3369269ea58d571b7
parent b4b5feaa
......@@ -801,7 +801,6 @@ public:
for ( unsigned int i = 0; i < this->LeafParent.size(); ++ i )
{
os << this->LeafParent[i] << " ";
++ i;
}
os << endl;
}
......
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