From 2f3bb3b836124e8cafe6b3aa1e9cf2b18f8b87ae Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Fri, 21 Mar 2008 23:31:32 +0000 Subject: Remove a couple more compiler warnings by commenting unused variables. This takes us down to 15 compiler warnings on a VS2005 C# build. --- OpenSim/Region/ClientStack/ClientView.cs | 3 ++- OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 0f8e196..fca78f7 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs @@ -1164,7 +1164,8 @@ namespace OpenSim.Region.ClientStack // 6 to 7 items at a time, so let's stick with 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) { diff --git a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs index 3d8a720..68140f4 100644 --- a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs +++ b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs @@ -85,7 +85,9 @@ namespace OpenSim.Region.Environment.Scenes private int m_physicsMS = 0; private int m_imageMS = 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_childAgents = 0; @@ -272,7 +274,9 @@ namespace OpenSim.Region.Environment.Scenes m_physicsMS = 0; m_imageMS = 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 -- cgit v1.1