]> git.mxchange.org Git - simgear.git/commitdiff
Warning fix: unused variable in TextureBuilder.cxx
authorTorsten Dreyer <Torsten@t3r.de>
Fri, 16 Jul 2010 16:19:56 +0000 (18:19 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Fri, 16 Jul 2010 16:19:56 +0000 (18:19 +0200)
simgear/scene/material/TextureBuilder.cxx

index d60e767d1dffc80afc506facbcfecfcd60c97d2c..9cf9cd4e644e00da15e93137c8f104ecc3c4038f 100644 (file)
@@ -131,7 +131,7 @@ void TextureUnitBuilder::buildAttribute(Effect* effect, Pass* pass,
         texture = TextureBuilder::buildFromType(effect, type, prop,
                                                 options);
     }
-    catch (BuilderException& e) {
+    catch (BuilderException& ) {
         SG_LOG(SG_INPUT, SG_ALERT, "No image file, "
             << "maybe the reader did not set the filename attribute, "
             << "using white on " << pass->getName());