aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PacketPool.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-03-05 21:47:19 +0000
committerAdam Frisby2008-03-05 21:47:19 +0000
commit14b37533aaae69979f602e28f9cc0cd60b9585d7 (patch)
tree96299c3bbf327499e9272428ac3a131a2cda3305 /OpenSim/Framework/PacketPool.cs
parentChange SceneObjectPart.LocalID to .LocalId to be case matching (diff)
downloadopensim-SC-14b37533aaae69979f602e28f9cc0cd60b9585d7.zip
opensim-SC-14b37533aaae69979f602e28f9cc0cd60b9585d7.tar.gz
opensim-SC-14b37533aaae69979f602e28f9cc0cd60b9585d7.tar.bz2
opensim-SC-14b37533aaae69979f602e28f9cc0cd60b9585d7.tar.xz
* Removed more compiler warnings, dead code, etc.
Diffstat (limited to 'OpenSim/Framework/PacketPool.cs')
-rw-r--r--OpenSim/Framework/PacketPool.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs
index 2c44ae3..119cd68 100644
--- a/OpenSim/Framework/PacketPool.cs
+++ b/OpenSim/Framework/PacketPool.cs
@@ -158,6 +158,7 @@ namespace OpenSim.Framework
158 public void ReturnPacket(Packet packet) { 158 public void ReturnPacket(Packet packet) {
159 return; // packet pool disabled 159 return; // packet pool disabled
160 160
161 /* // Commented out to remove a compiler warning. :)
161 lock(pool) 162 lock(pool)
162 { 163 {
163 PacketType type=packet.Type; 164 PacketType type=packet.Type;
@@ -171,6 +172,7 @@ namespace OpenSim.Framework
171 ((Stack)pool[type]).Push(packet); 172 ((Stack)pool[type]).Push(packet);
172 } 173 }
173 } 174 }
175 */
174 } 176 }
175 } 177 }
176} 178}