1
0
Fork 0

Fix a compiler warning.

This commit is contained in:
curt 2002-03-04 19:59:50 +00:00
parent 519ac21fa8
commit 7d8af6fee2

View file

@ -211,7 +211,8 @@ int FGMaterialLib::get_step ()
void FGMaterialLib::load_next_deferred() { void FGMaterialLib::load_next_deferred() {
// container::iterator it = begin(); // container::iterator it = begin();
for ( material_map_iterator it = begin(); it != end(); it++ ) { for ( material_map_iterator it = begin(); it != end(); it++ ) {
const string &key = it->first; /* we don't need the key, but here's how we'd get it if we wanted it. */
// const string &key = it->first;
FGNewMat *slot = it->second; FGNewMat *slot = it->second;
if (slot->load_texture()) if (slot->load_texture())
return; return;