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

@@ -809,7 +809,7 @@ namespace OpenSim.Region.CoreModules.Asset
return;
}
catch (UnauthorizedAccessException e)
catch (UnauthorizedAccessException)
{
}
finally

View File

@@ -666,7 +666,8 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
ResponseBody = e.Message;
}
}
catch (Exception e)
// catch (Exception e)
catch
{
// Don't crash on anything else
}

View File

@@ -1396,9 +1396,9 @@ namespace OpenSim.Region.CoreModules.World.Land
byte[] tempConvertArr = new byte[LandBitmap.GetLength(0) * LandBitmap.GetLength(1) / 8];
int tempByte = 0;
int i, byteNum = 0;
int byteNum = 0;
int mask = 1;
i = 0;
for (int y = 0; y < LandBitmap.GetLength(1); y++)
{
for (int x = 0; x < LandBitmap.GetLength(0); x++)

View File

@@ -47,7 +47,6 @@ namespace OpenSim.Region.CoreModules
private uint m_frame = 0;
private int m_dataVersion = 0;
private int m_regionID = 0;
private int m_frameUpdateRate = 150;
//private Random m_rndnums = new Random(Environment.TickCount);
private Scene m_scene = null;