From ed7361622bee8d67fea6e50ac21dff86d2dc092c Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Fri, 16 Jul 2010 18:19:56 +0200 Subject: [PATCH] Warning fix: unused variable in TextureBuilder.cxx --- simgear/scene/material/TextureBuilder.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.39.5