diff options
author | Diva Canto | 2015-06-14 08:18:21 -0700 |
---|---|---|
committer | Diva Canto | 2015-06-14 08:18:21 -0700 |
commit | f27ce668777b8a7f78573c8bd227100aa6a0bac8 (patch) | |
tree | 7333612a1ad2fec0d8d10db175310341c4c43c91 | |
parent | Squoosh one more warning (diff) | |
download | opensim-SC-f27ce668777b8a7f78573c8bd227100aa6a0bac8.zip opensim-SC-f27ce668777b8a7f78573c8bd227100aa6a0bac8.tar.gz opensim-SC-f27ce668777b8a7f78573c8bd227100aa6a0bac8.tar.bz2 opensim-SC-f27ce668777b8a7f78573c8bd227100aa6a0bac8.tar.xz |
Squooshed a warning that could result in a runtime null pointer exception. It says that code is for debugging, but it was buggy.
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs index 1bf47f2..f62dc15 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | |||
@@ -112,7 +112,7 @@ namespace OpenMetaverse | |||
112 | /// For debugging purposes only... random number generator for dropping | 112 | /// For debugging purposes only... random number generator for dropping |
113 | /// outbound packets. | 113 | /// outbound packets. |
114 | /// </summary> | 114 | /// </summary> |
115 | private Random m_dropRandomGenerator; | 115 | private Random m_dropRandomGenerator = new Random(); |
116 | 116 | ||
117 | /// <summary> | 117 | /// <summary> |
118 | /// For debugging purposes only... parameters for a simplified | 118 | /// For debugging purposes only... parameters for a simplified |