1
0
Fork 0

don't initialize iterator twice

This commit is contained in:
mfranz 2007-10-22 17:28:08 +00:00
parent e54215e7e7
commit 44a1dbf090

View file

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