aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorCharles Krinke2008-03-21 23:31:32 +0000
committerCharles Krinke2008-03-21 23:31:32 +0000
commit2f3bb3b836124e8cafe6b3aa1e9cf2b18f8b87ae (patch)
tree531299c8489edeed6ac6ecae03c324535d2a2031
parentAdds in +, -, and / operators for Rotations (and fixes Mantis 671) (diff)
downloadopensim-SC_OLD-2f3bb3b836124e8cafe6b3aa1e9cf2b18f8b87ae.zip
opensim-SC_OLD-2f3bb3b836124e8cafe6b3aa1e9cf2b18f8b87ae.tar.gz
opensim-SC_OLD-2f3bb3b836124e8cafe6b3aa1e9cf2b18f8b87ae.tar.bz2
opensim-SC_OLD-2f3bb3b836124e8cafe6b3aa1e9cf2b18f8b87ae.tar.xz
Remove a couple more compiler warnings by commenting unused variables.
This takes us down to 15 compiler warnings on a VS2005 C# build.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs3
-rw-r--r--OpenSim/Region/Environment/Scenes/SimStatsReporter.cs8
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
1164 // 6 to 7 items at a time, so let's stick with 6 1164 // 6 to 7 items at a time, so let's stick with 6
1165 int MAX_ITEMS_PER_PACKET = 6; 1165 int MAX_ITEMS_PER_PACKET = 6;
1166 1166
1167 uint FULL_MASK_PERMISSIONS = 2147483647; 1167//Ckrinke This variable is not used, so comment out to remove the warning from the compiler (3-21-08)
1168//Ckrinke uint FULL_MASK_PERMISSIONS = 2147483647;
1168 1169
1169 if (fetchItems) 1170 if (fetchItems)
1170 { 1171 {
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
85 private int m_physicsMS = 0; 85 private int m_physicsMS = 0;
86 private int m_imageMS = 0; 86 private int m_imageMS = 0;
87 private int m_otherMS = 0; 87 private int m_otherMS = 0;
88 private int m_scriptMS = 0; 88
89//Ckrinke: (3-21-08) Comment out to remove a compiler warning. Bring back into play when needed.
90//Ckrinke private int m_scriptMS = 0;
89 91
90 private int m_rootAgents = 0; 92 private int m_rootAgents = 0;
91 private int m_childAgents = 0; 93 private int m_childAgents = 0;
@@ -272,7 +274,9 @@ namespace OpenSim.Region.Environment.Scenes
272 m_physicsMS = 0; 274 m_physicsMS = 0;
273 m_imageMS = 0; 275 m_imageMS = 0;
274 m_otherMS = 0; 276 m_otherMS = 0;
275 m_scriptMS = 0; 277
278//Ckrinke This variable is not used, so comment to remove compiler warning until it is used.
279//Ckrinke m_scriptMS = 0;
276 } 280 }
277 281
278 # region methods called from Scene 282 # region methods called from Scene