From Jordi Torres, Removed unused local variables

This commit is contained in:
Robert Osfield
2017-12-02 18:00:03 +00:00
parent 4fc3c8ef26
commit d7f5357059

View File

@@ -36,8 +36,6 @@ Q3BSPReader::Q3BSPReader()
bool Q3BSPReader::readFile(const std::string& file,
const osgDB::ReaderWriter::Options* options)
{
std::string ext = osgDB::getLowerCaseFileExtension(file);
Q3BSPLoad load_data;
load_data.Load(file,8);
@@ -513,7 +511,7 @@ bool Q3BSPReader::loadLightMaps(
// A continuaci<EFBFBD>n, a<EFBFBD>ado el blanco
// A continuacin, aado el blanco
osg::Image* image=new osg::Image;
unsigned char *data=new unsigned char[3];
for(int whiteidx=0;whiteidx<3;whiteidx++)