don't initialize iterator twice
This commit is contained in:
parent
e54215e7e7
commit
44a1dbf090
1 changed files with 0 additions and 1 deletions
|
@ -284,7 +284,6 @@ FGMenuBar::destroy_menubar ()
|
|||
// Delete all those bindings
|
||||
SG_LOG(SG_GENERAL, SG_INFO, "Deleting bindings");
|
||||
map<string,vector<SGBinding *> >::iterator it;
|
||||
it = _bindings.begin();
|
||||
for (it = _bindings.begin(); it != _bindings.end(); it++) {
|
||||
SG_LOG(SG_GENERAL, SG_INFO, "Deleting bindings for " << it->first);
|
||||
for ( i = 0; i < it->second.size(); i++ )
|
||||
|
|
Loading…
Add table
Reference in a new issue