Reduce the scope of variables using to indexing single loop only.
And adjust their types if necessary (to have uniform types in the test expression).
This commit is contained in:
@@ -1032,8 +1032,7 @@ wxWindow* wxPGChoiceEditor::CreateControlsBase( wxPropertyGrid* propGrid,
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int i;
|
||||
for ( i=0; i<cmnVals; i++ )
|
||||
for ( unsigned int i = 0; i < cmnVals; i++ )
|
||||
labels.Add(propGrid->GetCommonValueLabel(i));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user