]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a compiler warning.
authorcurt <curt>
Mon, 4 Mar 2002 19:59:50 +0000 (19:59 +0000)
committercurt <curt>
Mon, 4 Mar 2002 19:59:50 +0000 (19:59 +0000)
src/Objects/matlib.cxx

index 0ea5d7b90e2e19bb4232c07be8808a0758081433..15a045fb800707340ee7ac6bf846dc5fa651dbe3 100644 (file)
@@ -211,7 +211,8 @@ int FGMaterialLib::get_step ()
 void FGMaterialLib::load_next_deferred() {
     // container::iterator it = begin();
     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;
        if (slot->load_texture())
          return;