mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 01:37:02 +00:00
[10509] Fix some "foo initialized after bar" gcc warnings and remove some unused variables.
This commit is contained in:
parent
8ccf9c7464
commit
47397ff19b
10 changed files with 28 additions and 35 deletions
|
|
@ -98,6 +98,8 @@ struct ClientPktHeader
|
|||
|
||||
WorldSocket::WorldSocket (void) :
|
||||
WorldHandler (),
|
||||
m_LastPingTime (ACE_Time_Value::zero),
|
||||
m_OverSpeedPings (0),
|
||||
m_Session (0),
|
||||
m_RecvWPct (0),
|
||||
m_RecvPct (),
|
||||
|
|
@ -105,9 +107,7 @@ m_Header (sizeof (ClientPktHeader)),
|
|||
m_OutBuffer (0),
|
||||
m_OutBufferSize (65536),
|
||||
m_OutActive (false),
|
||||
m_Seed (static_cast<uint32> (rand32 ())),
|
||||
m_OverSpeedPings (0),
|
||||
m_LastPingTime (ACE_Time_Value::zero)
|
||||
m_Seed (static_cast<uint32> (rand32 ()))
|
||||
{
|
||||
reference_counting_policy ().value (ACE_Event_Handler::Reference_Counting_Policy::ENABLED);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue