From 7d8af6fee2d14d647b6138a8412e6b5844b12948 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 4 Mar 2002 19:59:50 +0000 Subject: [PATCH] Fix a compiler warning. --- src/Objects/matlib.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Objects/matlib.cxx b/src/Objects/matlib.cxx index 0ea5d7b90..15a045fb8 100644 --- a/src/Objects/matlib.cxx +++ b/src/Objects/matlib.cxx @@ -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;