diff options
author | rubidium <rubidium@openttd.org> | 2013-11-22 21:50:43 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-22 21:50:43 +0000 |
commit | 2e54c8fdfa237f84e8d48b30bf4811ba7ed84327 (patch) | |
tree | 7ce2441341e514ccc4225d692f5c8d64b881e75c /src/network/core/tcp_game.h | |
parent | bdd62a4b3e3df6282122a7c4353e6fef632f9c32 (diff) | |
download | openttd-2e54c8fdfa237f84e8d48b30bf4811ba7ed84327.tar.xz |
(svn r26056) -Fix: a number of possibly uninitialised variables
Diffstat (limited to 'src/network/core/tcp_game.h')
-rw-r--r-- | src/network/core/tcp_game.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp_game.h b/src/network/core/tcp_game.h index 761399639..5c6cb5c34 100644 --- a/src/network/core/tcp_game.h +++ b/src/network/core/tcp_game.h @@ -137,7 +137,7 @@ class CommandQueue { public: /** Initialise the command queue. */ - CommandQueue() : first(NULL), last(NULL) {} + CommandQueue() : first(NULL), last(NULL), count(0) {} /** Clear the command queue. */ ~CommandQueue() { this->Free(); } void Append(CommandPacket *p); |