diff --git a/src/osgPlugins/bsp/VBSPReader.cpp b/src/osgPlugins/bsp/VBSPReader.cpp index 90fdfa022..172013581 100644 --- a/src/osgPlugins/bsp/VBSPReader.cpp +++ b/src/osgPlugins/bsp/VBSPReader.cpp @@ -653,8 +653,6 @@ ref_ptr VBSPReader::readMaterialFile(std::string materialName) bool found = false; ref_ptr stateSet; std::string shaderName; - std::string texName; - std::string tex2Name; ref_ptr texture; ref_ptr texture2; ref_ptr combiner0; @@ -992,7 +990,6 @@ void VBSPReader::createScene() Quat yaw, pitch, roll; ref_ptr propXform; std::string propModel; - std::string propFile; ref_ptr propNode; // Load the materials and create a StateSet for each one