mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Do not declare unused variables
This commit is contained in:
parent
2009916dd8
commit
9647b670e4
6 changed files with 8 additions and 8 deletions
|
@ -606,7 +606,7 @@ void CSVRender::TerrainTextureMode::createTexture(std::string textureFileName)
|
|||
newId = CSMWorld::LandTexture::createUniqueRecordId(0, counter);
|
||||
if (ltexTable.getRecord(newId).isDeleted() == 0) counter = (counter + 1) % maxCounter;
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
catch (const std::exception&)
|
||||
{
|
||||
newId = CSMWorld::LandTexture::createUniqueRecordId(0, counter);
|
||||
freeIndexFound = true;
|
||||
|
|
|
@ -402,7 +402,7 @@ namespace MWRender
|
|||
refs[ref.mRefNum] = ref;
|
||||
}
|
||||
}
|
||||
catch (std::exception& e)
|
||||
catch (std::exception&)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@ namespace MWWorld
|
|||
mTerrain->cacheCell(mTerrainView.get(), mX, mY);
|
||||
mPreloadedObjects.insert(mLandManager->getLand(mX, mY));
|
||||
}
|
||||
catch(std::exception& e)
|
||||
catch(std::exception&)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -127,7 +127,7 @@ namespace MWWorld
|
|||
mPreloadedObjects.insert(mBulletShapeManager->getShape(mesh));
|
||||
|
||||
}
|
||||
catch (std::exception& e)
|
||||
catch (std::exception&)
|
||||
{
|
||||
// ignore error for now, would spam the log too much
|
||||
// error will be shown when visiting the cell
|
||||
|
|
|
@ -965,7 +965,7 @@ namespace MWWorld
|
|||
{
|
||||
mSceneManager->getTemplate(mMesh);
|
||||
}
|
||||
catch (std::exception& e)
|
||||
catch (std::exception&)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -1049,7 +1049,7 @@ namespace MWWorld
|
|||
exteriorPositions.emplace_back(pos, gridCenterToBounds(getNewGridCenter(pos)));
|
||||
}
|
||||
}
|
||||
catch (std::exception& e)
|
||||
catch (std::exception&)
|
||||
{
|
||||
// ignore error for now, would spam the log too much
|
||||
}
|
||||
|
|
|
@ -3895,7 +3895,7 @@ namespace MWWorld
|
|||
if (!model.empty())
|
||||
scene->preload(model, ref.getPtr().getClass().useAnim());
|
||||
}
|
||||
catch(std::exception& e)
|
||||
catch(std::exception&)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ namespace Resource
|
|||
mTarget.mTextKeys.emplace(parseTimeSignature(line), parseTextKey(line));
|
||||
}
|
||||
}
|
||||
catch (std::exception& e)
|
||||
catch (std::exception&)
|
||||
{
|
||||
Log(Debug::Warning) << "No textkey file found for " << mNormalized;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue