(svn r26056) -Fix: a number of possibly uninitialised variables

This commit is contained in:
rubidium
2013-11-22 21:50:43 +00:00
parent 7ecfd60b96
commit bebf2291db
6 changed files with 13 additions and 9 deletions

View File

@@ -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);