aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PacketPool.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/PacketPool.cs')
-rw-r--r--OpenSim/Framework/PacketPool.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs
index be56cdc..5eac9de 100644
--- a/OpenSim/Framework/PacketPool.cs
+++ b/OpenSim/Framework/PacketPool.cs
@@ -89,7 +89,7 @@ namespace OpenSim.Framework
89 89
90 public Packet GetPacket(PacketType type) 90 public Packet GetPacket(PacketType type)
91 { 91 {
92 Packet packet = null; 92 Packet packet;
93 93
94 lock (pool) 94 lock (pool)
95 { 95 {
@@ -109,7 +109,7 @@ namespace OpenSim.Framework
109 } 109 }
110 110
111 // private byte[] decoded_header = new byte[10]; 111 // private byte[] decoded_header = new byte[10];
112 private PacketType GetType(byte[] bytes) 112 private static PacketType GetType(byte[] bytes)
113 { 113 {
114 byte[] decoded_header = new byte[10 + 8]; 114 byte[] decoded_header = new byte[10 + 8];
115 ushort id; 115 ushort id;