Squooshed a warning that could result in a runtime null pointer exception. It says that code is for debugging, but it was buggy.
parent
03f142730c
commit
f27ce66877
|
@ -112,7 +112,7 @@ namespace OpenMetaverse
|
||||||
/// For debugging purposes only... random number generator for dropping
|
/// For debugging purposes only... random number generator for dropping
|
||||||
/// outbound packets.
|
/// outbound packets.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private Random m_dropRandomGenerator;
|
private Random m_dropRandomGenerator = new Random();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// For debugging purposes only... parameters for a simplified
|
/// For debugging purposes only... parameters for a simplified
|
||||||
|
|
Loading…
Reference in New Issue