From f27ce668777b8a7f78573c8bd227100aa6a0bac8 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 14 Jun 2015 08:18:21 -0700 Subject: Squooshed a warning that could result in a runtime null pointer exception. It says that code is for debugging, but it was buggy. --- OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') 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 /// For debugging purposes only... random number generator for dropping /// outbound packets. /// - private Random m_dropRandomGenerator; + private Random m_dropRandomGenerator = new Random(); /// /// For debugging purposes only... parameters for a simplified -- cgit v1.1