mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Squooshed a warning that could result in a runtime null pointer exception. It says that code is for debugging, but it was buggy.
This commit is contained in:
@@ -112,7 +112,7 @@ namespace OpenMetaverse
|
||||
/// For debugging purposes only... random number generator for dropping
|
||||
/// outbound packets.
|
||||
/// </summary>
|
||||
private Random m_dropRandomGenerator;
|
||||
private Random m_dropRandomGenerator = new Random();
|
||||
|
||||
/// <summary>
|
||||
/// For debugging purposes only... parameters for a simplified
|
||||
|
||||
Reference in New Issue
Block a user