Remove a couple more compiler warnings by commenting unused variables.

This takes us down to 15 compiler warnings on a VS2005 C# build.
0.6.0-stable
Charles Krinke 2008-03-21 23:31:32 +00:00
parent 6ac21141c6
commit 2f3bb3b836
2 changed files with 8 additions and 3 deletions

View File

@ -1164,7 +1164,8 @@ namespace OpenSim.Region.ClientStack
// 6 to 7 items at a time, so let's stick with 6 // 6 to 7 items at a time, so let's stick with 6
int MAX_ITEMS_PER_PACKET = 6; int MAX_ITEMS_PER_PACKET = 6;
uint FULL_MASK_PERMISSIONS = 2147483647; //Ckrinke This variable is not used, so comment out to remove the warning from the compiler (3-21-08)
//Ckrinke uint FULL_MASK_PERMISSIONS = 2147483647;
if (fetchItems) if (fetchItems)
{ {

View File

@ -85,7 +85,9 @@ namespace OpenSim.Region.Environment.Scenes
private int m_physicsMS = 0; private int m_physicsMS = 0;
private int m_imageMS = 0; private int m_imageMS = 0;
private int m_otherMS = 0; private int m_otherMS = 0;
private int m_scriptMS = 0;
//Ckrinke: (3-21-08) Comment out to remove a compiler warning. Bring back into play when needed.
//Ckrinke private int m_scriptMS = 0;
private int m_rootAgents = 0; private int m_rootAgents = 0;
private int m_childAgents = 0; private int m_childAgents = 0;
@ -272,7 +274,9 @@ namespace OpenSim.Region.Environment.Scenes
m_physicsMS = 0; m_physicsMS = 0;
m_imageMS = 0; m_imageMS = 0;
m_otherMS = 0; m_otherMS = 0;
m_scriptMS = 0;
//Ckrinke This variable is not used, so comment to remove compiler warning until it is used.
//Ckrinke m_scriptMS = 0;
} }
# region methods called from Scene # region methods called from Scene