From: Torsten Dreyer Date: Fri, 16 Jul 2010 16:19:56 +0000 (+0200) Subject: Warning fix: unused variable in TextureBuilder.cxx X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ed7361622bee8d67fea6e50ac21dff86d2dc092c;p=simgear.git Warning fix: unused variable in TextureBuilder.cxx --- diff --git a/simgear/scene/material/TextureBuilder.cxx b/simgear/scene/material/TextureBuilder.cxx index d60e767d..9cf9cd4e 100644 --- a/simgear/scene/material/TextureBuilder.cxx +++ b/simgear/scene/material/TextureBuilder.cxx @@ -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());