shut up some pesty warnings

This commit is contained in:
UbitUmarov
2018-01-15 16:23:19 +00:00
parent 7a09a10f58
commit c92ba1cc04
15 changed files with 30 additions and 29 deletions

View File

@@ -340,7 +340,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
faces = new List<Face>();
OSD meshOsd = null;
if (primShape.SculptData == null || primShape.SculptData.Length <= 0)
if (primShape.SculptData.Length <= 0)
{
// m_log.InfoFormat("[MESH]: asset data for {0} is zero length", primName);
return false;
@@ -363,7 +363,6 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
catch (Exception e)
{
m_log.Error("[MESH]: Exception deserializing mesh asset header:" + e.ToString());
return false;
}
start = data.Position;
@@ -1383,7 +1382,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
{
File.Delete(filename);
}
catch (IOException e)
catch (IOException)
{
m_log.ErrorFormat(
"[MESH CACHE]: Failed to delete file {0}",filename);